W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

RE: <tr height="50px">

From: Randy Waki <rwaki@whizbang.com>
Date: Sat, 2 Jun 2001 17:00:42 -0400 (EDT)
To: "Eric" <e.richards@clear.net.nz>
Cc: <html-tidy@w3.org>
Message-ID: <AKEFJJCOCMAIHGAJJJODAEJFCGAA.rwaki@whizbang.com>
Hi Eric,

> I just checked out my personnel web site with www.echoecho.com
> it said
> Error: unknown attribute "HEIGHT" for element <tr>. 
> 
> even though this passes by tidy and it is my HTML book
> 
> maybe http://www.echoecho.com/ is wrong

It doesn't look like HTML allows a "height" attribute on <tr>.  I
checked the HTML 4.01 and 3.2 specs.  So echoecho is right.

As for Tidy, there is a known problem with its checking of illegal
attributes.  The problem is that in most cases, Tidy does not check
attributes on a per-element basis.  Because "height" is allowed on
certain other elements like <img> and <object>, Tidy ends up allowing
it on ALL elements.

And your HTML book seems to be wrong.  Unfortunately, many HTML books
contain mistakes like this.

Randy
Received on Monday, 4 June 2001 04:39:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT