W3C home > Mailing lists > Public > www-validator@w3.org > November 2000

Re: no attributes in 4.01 Strict?

From: Tim Bagot <tsb-w3-validator-0002@earth.li>
Date: Fri, 10 Nov 2000 16:30:30 +0000 (UTC)
To: www-validator@w3.org
Message-ID: <Pine.LNX.4.21.0011101623280.7441-100000@windle.hack>
On Fri, 10 Nov 2000, chris garaffa wrote:

> *Line 9, column 15:
>    <body bgcolor="black" text="white">
>                  ^
> Error: there is no attribute "BGCOLOR"
[etc.]

> However, the page validates with Transitional. Is this an error with the
> validator, because it seems strange that the parser wouldn't allow these
> common attributes. Thanks.

No, the validator is quite correct. These attributes do not exist in HTML
4.01 Strict. Presentational information should be provided by style
sheets. See the comment at the top of
<http://www.w3.org/TR/html40/sgml/loosedtd.html>.


Tim Bagot
Received on Friday, 10 November 2000 11:31:02 GMT

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