Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Ampersand in URI - according to www.w3.org

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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