Solved

Ampersand in URI - according to www.w3.org

Posted on 2004-08-10
3
760 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

786 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