W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

[VE][108] onload attribute does not exist for < IMG>?

From: Ruben Tilis <tilis@netvision.net.il>
Date: Tue, 25 Mar 2008 18:16:46 +0200
To: www-validator@w3.org
Message-id: <0JYA00JTHO08KWI0@mxout3.netvision.net.il>
W3 describes "onload" event: " The onload event occurs immediately after a
page or an image is loaded.".  Please see at your page:

This event attribute is essential for dealing with every loading element.
Processing image onload event through BODY onload event is not a good or
sufficient programming. All browsers support this attribute and I just can't
see why W3 contradicts it's itself and force developers to choose between
bad programming and forsaking W3 validation.

Hope it just an error indeed.

Error [108]: "there is no attribute X"

NOTE: Whenever possible, give the address of the document you were checking.
Received on Tuesday, 25 March 2008 21:41:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:06 UTC