W3C home > Mailing lists > Public > www-validator@w3.org > August 2006

Re: [VE][108] Error Message Feedback

From: Benjamin Niemann <pink@odahoda.de>
Date: Mon, 07 Aug 2006 16:25:01 +0200
To: www-validator@w3.org
Message-ID: <eb7ifv$2a4$1@sea.gmane.org>

Sue wrote:

> thankyou for your reply....
> The error message is a bit misleading. There is such an attribute in your
> source code, but what the message means, is that there is no such
> attribute defined in the HTML specification. A technically less ambiguous
> error message would be 'there is no attribute declaration for X', or a
> more commonly understood version would be like 'X is not a valid attribute
> for the element Y'.
> but I am not sure how to fix this - I have cleaned up the html says there
> is nothing left to remove but running it through the w3 it still shows the
> same errors so now I am at a loss as to what to do?

The only valid way to remove the spacing around the document (what the
*MARGIN attributes on the BODY element do, even though this is not part of
the HTML standard), is to use CSS:

body, html {
  margin: 0;
  padding: 0;

Similarily you'll have to use CSS for background images on tables or table
cells. (But once you get started with CSS, you will see that there is a lot
to be done with this document...)

Regarding the ALT attribute on the TD, simply remove it altogether.
Background images are just for decoration and the user should be able to
use the page without seeing these image or a replacement text. If the image
is relevent, use an IMG element with the appropriate ALT text.

For futher advice, I suggest to join a mailing list or newsgroup about web
authoring, where you may get more help on such topics.

Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
Received on Monday, 7 August 2006 14:25:54 UTC

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