Re: Problem with the Validator

* 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 UTC