W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

Re: Not all deprecated IMG attributes caught by validator

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 13 Oct 2003 18:29:43 -0400 (EDT)
To: Andrew Roazen <Andrew.Roazen@NAU.EDU>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0310131827220.22741-100000@localhost.localdomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:10 GMT