W3C home > Mailing lists > Public > www-html@w3.org > November 2000

Re: Image rollovers by naming image produces error in html validator

From: Andreas Maebert <maebert@triplex.de>
Date: Thu, 23 Nov 2000 17:24:16 +0100
Message-ID: <7623616879.20001123172416@triplex.de>
To: www-html@w3.org
Hello Andrew,

Thursday, November 23, 2000, 4:05:50 PM, you wrote:
> In Reply to steven@creativefactory.com.au
>> How do make a standard image rollover compliant to w3c 4.01 transitional.

> As name is a valid attribute for img, is this an error with the validator
> against the HTML 4.0 DTD? maybe?

Initially "name" was removed from the HTML-DTD with version 4.0, because
it should be replaced with "id". Because of a Bug in Netscape 4.x
JavaScript, which cannot adress an <img> via "id", it was implemented
into HTML 4.01 transitional. But the attribute is deprecated and does
neither exist in HTML4.x/XHTML1.0 strict DTD nor in XHTML 1.1 DTD.

Andreas Mäbert

triplex - agentur fuer neue medien GmbH
herzog-heinrich-strasse 11-13
80336 muenchen


phone:+49 89 209138 18
fax:+49 89 209138 10
Received on Thursday, 23 November 2000 11:24:09 GMT

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