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

no attributes in 4.01 Strict?

From: chris garaffa <aquax@optonline.net>
Date: Fri, 10 Nov 2000 10:44:40 -0500
To: <www-validator@w3.org>
Message-ID: <B6318217.59C%aquax@optonline.net>
i tried to validate the following document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Salon Gianni</title>
        <meta name="creator" content="Spellunker Inc. --
webmaster@mysomeone.com">
        <meta name="keywords" content="Salon, Gianni, Greenwich,
Connecticut, hairstyling, hairstylist, hair">
        <meta name="description" content="Gianni Salon in Greenwich,
Connecticut">
    </head>
    <body bgcolor="black" text="white">
        <div align="center">
            <img src="images/giannilogo.jpg" alt="SalonGianni.com -- Coming
Soon" width="640" height="240"><br>
            
        </div>
    </body>
</html>

and it gives me the following errors:

*Line 9, column 15:
   <body bgcolor="black" text="white">
                 ^
Error: there is no attribute "BGCOLOR"
*    Line 9, column 28:
   <body bgcolor="black" text="white">
                              ^
Error: there is no attribute "TEXT"
*    Line 10, column 13:
    <div align="center">
               ^

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.

Chris Garaffa
aquax@optonline.net
Received on Friday, 10 November 2000 10:46:21 GMT

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