W3C home > Mailing lists > Public > www-validator@w3.org > October 2004

Re: [VE][108] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Wed, 13 Oct 2004 23:09:19 +1000
Message-ID: <416D28FF.7070707@iinet.net.au>
To: BangaloreEducation <george@bangaloreeducation.com>
CC: www-validator@w3.org

BangaloreEducation wrote:
> Line 20, column 113: there is no attribute "BACKGROUND"
> With reference to the <table> and <td>

The background attribute is only defined for the <body> element, not 
table related elements.  'bgcolor' is, however, it is deprecated in HTML 
and can only be used with a Transitional DTD.  Because of their 
presentational nature, these attributes should be avoided.  Instead, you 
should use CSS to control the presentation of the documents.

> This works in ie,Mozilla,Konqueror,Opera

Many browsers support non-standard extensions to HTML, but that doesn't 
mean it's not an error.

> So is it really an error 

Yes.  The validator is very rarely wrong with these kind of errors.

-- 
Lachlan Hunt
http://lachy.id.au/
http://getfirefox.com/    Rediscover the Web
http://spreadfirefox.com/   Igniting the Web
Received on Wednesday, 13 October 2004 13:09:57 GMT

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