Forum Moderators: open

Message Too Old, No Replies

Validating XHTML 1.0 Transitional

         

RammsteinNicCage

3:54 pm on Aug 14, 2003 (gmt 0)

10+ Year Member



Most of my site validates except for the links page. On it, there are some webrings and the validator is having problems with the link:

<a href="http://www.blahblahblah.org/cgi-bin/webring?ring=blahblahblah&id=182&prev" onmouseover="window.status='Previous site'" target="_top">Prev</a>

Once it hits the &, I get this error: cannot generate system identifier for general entity "id" and then I get more errors for id, =, prev, etc. Is there anyway to stop this?

RammsteinNicCage

coopster

3:56 pm on Aug 14, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You need to replace the ampersand symbol with &amp;
[w3.org ]

RammsteinNicCage

4:20 pm on Aug 14, 2003 (gmt 0)

10+ Year Member



That can work inside a link? Didn't know that, thanks! :)

g1smd

8:30 pm on Aug 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yeah, the browser knows to escape the version that it sends to the webserver.