Re: Not all deprecated IMG attributes caught by validator

On Mon, 13 Oct 2003, Andrew Roazen wrote:

> For XHTML 1.0/Transitional typed documents, I couldn't help noticing that 
> the validator catches deprecated IMG attributes such as BORDER, WIDTH and 
> HEIGHT, unless the IMG tag also contains ALT="".
> 
> Why is this?

You're mistaken.  The "width" and "height" attributes of "img" aren't
deprecated.  Also, XHTML 1.0 Transitional allows deprecated attributes, so
those wouldn't be flagged as errors.

-- 
Liam Quinn

Received on Monday, 13 October 2003 18:29:27 UTC