W3C home > Mailing lists > Public > www-html@w3.org > September 1998

ID and NAME

From: Baris Sahin <baris@mc.metu.edu.tr>
Date: Tue, 1 Sep 1998 21:44:30 +0300 (EET DST)
To: www-html <www-html@w3.org>
Message-ID: <Pine.LNX.3.96.980901214203.19604A-100000@harlequin.mc.metu.edu.tr>

hi,

I have an image rollover. I gave a name to the image with NAME tag ( <img
....   name="up" ...> ). and then when mouse is over the link other
image is shown...
onMouseOver="up.src=up2.src"
But when i submitted to the W3C validator, it says "there is no attribute
"NAME", then 
i used "ID" tag but this time, rollover does not work...
(document version info :DTD HTML 4.0 Transitional)
Do ID and NAME have almost same function...???

							- baris sahin -
Received on Tuesday, 1 September 1998 13:41:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT