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

Re: Small patch.

From: David Dorward <david@dorward.me.uk>
Date: Tue, 26 Oct 2004 14:02:46 +0100
To: Jan Wyta <JanWyta@o2.pl>
Cc: www-validator@w3.org
Message-ID: <20041026130246.GA21209@us-lot.org>

On Thu, Oct 21, 2004 at 02:48:48PM +0200, Jan Wyta wrote:
> inserted it and the page is no longer valid, because you used height and 
> width in img tag, which should be handled using styles in strict html.

The HTML 4.01 Strict DTD includes height and width attributes for the
img tag. For images, height and width are not presentational
attributes, at least not if you use them to inform the browser of the
real pixel size of the image (so it can create a suitable
placeholder).

http://dorward.me.uk/tmp/test.html will be up for a while if you would
like some evidence.


-- 
David Dorward                                      http://dorward.me.uk
Received on Tuesday, 26 October 2004 13:02:49 GMT

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