Solved

Ampersand in URI - according to www.w3.org

Posted on 2004-08-10
3
759 Views
Last Modified: 2010-05-18
Hello,

Accordng to W3C, the ampresands in URI's have to be '&' as in other html. Could there be any problems if you just make them (like the most web-sites do) just '&' ?

The validator on W3C does seem to think this is a problem.

see:
http://www.htmlhelp.com/tools/validator/problems.html#amp
for more info...

LN
0
Comment
Question by:Navecha
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Shattuc earned 100 total points
ID: 11770151
Some of the Older browsers this was a problem, because & was used as the start of a tag, the browser would think it was a tag.
It really depends on your target audience. If you are certain that over 75% of your viewers are using newer browsers, it may not be a problem, however, if the majority of your viewers, and or if you really want EVERYONE to see it as you intend it, it is safer to use & .

Personally I just use & because it was the only one I specifically remember that could cause problems in certain browsers.
0
 
LVL 2

Assisted Solution

by:Shattuc
Shattuc earned 100 total points
ID: 11770176
I read the note on W3C, it's all about hassle, if you don't want to be hassled with a potential problem, just use & If you don't mind doing things twice, use &.
but on the safe side, less complaints by users viewing pages, which in this day in age, they don't complain, they just don't come back.
0
 
LVL 2

Expert Comment

by:Joakim_
ID: 11770217
The big, professional company web sites does still use "&", not "&".
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now