Re: CSS validity

On Mon, 12 Jul 2004, David Dorward wrote:

> Validation, in the context of (X)HTML, refers specifically to its
> conformance to the DTD. The width and height attributes are distinctly
> optional. This is not a validation error.

Quite right, and in practical terms "CSE Validator" is just wrong in its
claim that those attributes would always be needed or useful; they may
even cause damage when the ALT text is long as compared with the image
dimensions.

On the other hand, if you wish to make sure you use those attributes for
all images (which is very sensible e.g. for an image gallery, since it
speeds up rendering), you can use a customized DTD where you declare those
attributes as REQUIRED.

> I'm not aware of any license restriction on the images provided by the
> validation service which demand they only be included using the
> specific (X)HTML the service outputs.

As far as I remember, the license only requires that the image be made a
link to the validation service and that it be used only when the page
actually validates, which is very often not the case - and this is one
of the many reasons for abhorring the use of such icons.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Monday, 12 July 2004 10:30:49 UTC