StickBoy
07-04-2003, 02:09 AM
The W3C Validator is driving me up the wall.
Can somebody please tell me why it picks an error out of one example but not another, even though they are exactly the same?
Here's what I have on my test page:
<A href="music.shtml" onMouseOver="imageSwap('music', 'music2.gif'); return true" onMouseOut="imageSwap('music', 'music.gif');"><IMG height=35 alt="Audio samples" NAME="music" src="music.gif" width=137 border=0></A>
<A href="music.shtml" onMouseOver="imageSwap('music', 'music2.gif'); return true" onMouseOut="imageSwap('music', 'music.gif');"><IMG height=35 alt="Audio samples" NAME="music" src="music.gif" width=137 border=0></A>
You will note that they are exactly the same. The reason is because I pasted the same thing twice.
For the first chunk, the Validator tells me " there is no attribute "NAME" "
But it does not say the same for the second chunk. (See for yourself: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.leeaaron.net%2Fdotcom%2Ftest.htm)
Why? How do I fix this?
See the test page at http://www.leeaaron.net/dotcom/test.htm
Can somebody please tell me why it picks an error out of one example but not another, even though they are exactly the same?
Here's what I have on my test page:
<A href="music.shtml" onMouseOver="imageSwap('music', 'music2.gif'); return true" onMouseOut="imageSwap('music', 'music.gif');"><IMG height=35 alt="Audio samples" NAME="music" src="music.gif" width=137 border=0></A>
<A href="music.shtml" onMouseOver="imageSwap('music', 'music2.gif'); return true" onMouseOut="imageSwap('music', 'music.gif');"><IMG height=35 alt="Audio samples" NAME="music" src="music.gif" width=137 border=0></A>
You will note that they are exactly the same. The reason is because I pasted the same thing twice.
For the first chunk, the Validator tells me " there is no attribute "NAME" "
But it does not say the same for the second chunk. (See for yourself: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.leeaaron.net%2Fdotcom%2Ftest.htm)
Why? How do I fix this?
See the test page at http://www.leeaaron.net/dotcom/test.htm