Re: [VE][108] Attribute "onload" exists, but can not be used for this element.

Darko Rakusic wrote:
> Validating
> http://serbianforum.org/strane/1397-lost-all-seasons-weekly-update.html
> Error [108]: "there is no attribute X"
>
> This is that line:
>
> <a
href="http://img.alibaba.com/photo/101357875/Lost_Season_1_4_Boxset.jpg"
rel="gallery.posts"><img
src="http://img.alibaba.com/photo/101357875/Lost_Season_1_4_Boxset.jpg"
border="0" alt="Click the image to open in full size."
class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);"
/></a><br />

> I don't understand what is problem. This is my last error.

You HTML has an attribute called "onload" in it. The HTML language
doesn't include that attribute for the element you have used it on.
Remove the attribute and its value.

(Please direct responses to the www-validator mailing list, and not
directly to me, thanks)


-- 
David Dorward                               <http://dorward.me.uk/>

Received on Sunday, 3 May 2009 08:44:36 UTC