Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 767
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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