W3C home > Mailing lists > Public > www-validator@w3.org > June 2005

height and width in valid icon code (Was: Minor "Problem")

From: olivier Thereaux <ot@w3.org>
Date: Fri, 24 Jun 2005 15:28:47 +0900
Message-Id: <0764eb63f88f723a5fbd0e3655987d50@w3.org>
Cc: <www-validator@w3.org>
To: "Chris Ware" <chris.ware@mintrasystems.com>

Hi Chris,
On Jun 24, 2005, at 4:42, Chris Ware wrote:

> This isnít really much of a problem at all, but when a page validates 
> as valid XHTML, the same HTML to include the Valid XHTML logo is 
> provided whatever type of XHTML is used Ė strict or transitional.
> †
> The ironic thing is that including this in an XHTML strict document 
> will actually invalidate it because there are no such tags as height 
> and width.

I am not sure where this belief comes from, but unless I am mistaken 
height and width *are* valid attributes for img in XHTML1.0, even 
strict. See the discussion at:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1478

That said... I have no strong feeling about having or removing the said 
attributes in the valid badge code. Does anyone on the list know if 
this is good/bad practice to have them?

Regards,
-- 
olivier
Received on Friday, 24 June 2005 06:28:58 GMT

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