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

Re: Problem with the Validator

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 23 Jun 2003 23:02:15 +0200
To: Pinedo420@aol.com
Cc: www-validator@w3.org
Message-ID: <3f186928.1877569572@smtp.bjoern.hoehrmann.de>

* Pinedo420@aol.com wrote:
>Hi, I am Luis Pinedo, I have been working on my website for some time now. I 
>decided to have it validated with the W3c MarkUp Validation Service. I got 
>three errors in which I believe shouldn't be errors. It says that there is no 
>attribute BORDERCOLOR for the TABLE tag. It works just fine. Other Validators do 
>not show this "error" just this one. Another so-called "error" is the there is 
>no attribute "COLOR" for the HR tag. Now that's weird how I have many color 
>attributes in my other HR tags (from the same page!) but it only singles out 
>this one tag.

The W3C MarkUp Validator validates your document according to the
document type you specify in the document or by config option. If it
complains about unknown attributes, these attributes are not defined in
that document type. Take a look at

  http://lists.w3.org/Archives/Public/www-archive/2003Mar/att-0105/table.html

There you can find all attributes for all elements in all standalone W3C
defined HTML and XHTML versions. The W3C never published a HTML
specification that allows a 'bordercolor' attribute for <table> or a
'color' attribute for <hr>. These attributes might "work" in some
browsers, but they are non-standard and thus your document doesn't
validate.
Received on Monday, 23 June 2003 17:03:04 GMT

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