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

Re: Feedback on Markup Validation Service

From: Liam Quinn <liam@htmlhelp.com>
Date: Wed, 11 Jun 2003 00:42:11 -0400 (EDT)
To: Dane Harkin <daneharkin@hotmail.com>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0306110038070.22954-100000@localhost.localdomain>

On Wed, 11 Jun 2003, Dane Harkin wrote:

> Whilst I was attempting to validate some html code, I stumbled across the
> following
> there is no attribute "COLOR"
> Code: <td colspan="4"><hr color="#333366" noshade></td>
> I don't understand why "color" cannot be added as an attribute to <hr>. 
>  Is it possible to suggest that the tag <hr> include the attribute 
> color in the validation process?

There is no "color" attribute for the "hr" element in any standard version 
of HTML.

If you really wanted, you could write your own DTD that defines a "color" 
attribute for the "hr" element.  See 
<http://www.htmlhelp.com/tools/validator/customdtd.html> for an example of 
using a custom DTD.

However, it's probably better instead to use Cascading Style Sheets to 
specify the colour of "hr" elements.

Liam Quinn
Received on Wednesday, 11 June 2003 00:41:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:37 UTC