Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 769
  • Last Modified:

Ampersand in URI - according to www.w3.org

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
Navecha
Asked:
Navecha
  • 2
2 Solutions
 
ShattucCommented:
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
 
ShattucCommented:
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
 
Joakim_Commented:
The big, professional company web sites does still use "&", not "&".
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now