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>
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.

Received on Monday, 4 June 2001 04:39:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC