Re: img tag onload not validated

pconver wrote:
> Validating 
> written in iso-8859-1, HTML 4.01 Transitional
> Iím receiving  For //Line 100, Column 126//: *there is no attribute 
> "ONLOAD"*.
> |><IMG onload=||*"*||resize(this)"|

In HTML 4.01 Transitional, only the BODY element may have an ONLOAD 

As you've put an ONLOAD attribute on an IMG element, the validator has 
correctly marked that as invalid.

Hope that helps.
Benjamin Hawkes-Lewis

Received on Sunday, 28 September 2008 20:40:53 UTC