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

Re: <A target="_blank"> bug?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 26 Oct 2002 14:40:16 +0200
To: ian@lemnet.com
Cc: www-validator@w3.org
Message-ID: <3de98ccc.83295272@smtp.bjoern.hoehrmann.de>

* Ian Thomas wrote:
>I have a page with a doctype of HTML 4.01 Strict, containing the tag:
><A target="_blank" href="foo">
>According to the HTML4 spec:
>and the FAQ:
>this is the correct syntax to use. However, the validator throws up an 
>"Error: there is no attribute "TARGET" for this element (in this HTML 

>Is this a bug in the validator, or is the FAQ & spec wrong?

Take a look at <http://www.w3.org/TR/html4/index/attributes.html>. You
will note that HTML 4.01 *Strict* does not include the target attribute,
HTML 4.01 Transitional does. Either use Transitional or remove the
target attribute.
Received on Saturday, 26 October 2002 08:40:07 UTC

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