W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

Re: Validating errors

From: Liam Quinn <liam@htmlhelp.com>
Date: Wed, 12 Dec 2001 18:10:49 -0500 (EST)
To: Adam van den Hoven <hendrik_adam@hotmail.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0112121810010.21114-100000@localhost.localdomain>
On Wed, 12 Dec 2001, Adam van den Hoven wrote:

> I was using the validator and I got an error on the following line of HTML
> (4.01 strict).
>
> <td rowspan="2"><a href="/link?menuId=60913" target="_top"><img
> src="interface/GlobalNavigation/AboutUs.gif" width="66" height="40"
> alt="Find ATM" name="Find ATM"></a></td>
>
> The error I got was:
> Error: there is no attribute "TARGET" for this element (in this HTML
> version)
>
> However, when I go look at the spec I find
> (http://www.w3.org/TR/html4/struct/links.html#edef-A):
>
> ...
> Attributes defined elsewhere
>
> id, class (document-wide identifiers)
> lang (language information), dir (text direction)
> title (element title)
> style (inline style information )
> shape and coords (image maps)
> onfocus, onblur, onclick, ondblclick, onmousedown, onmouseup, onmouseover,
> onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events )
> target (target frame information)
> tabindex (tabbing navigation)
> accesskey (access keys)
>
> Who is right?

Both. The section of the HTML 4 Recommendation that you quoted is for HTML
4 Transitional, not HTML 4 Strict.

-- 
Liam Quinn
Received on Wednesday, 12 December 2001 18:10:37 GMT

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