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

Re: no attribute "TARGET"?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 01 Aug 2001 21:27:41 +0200
To: "Blackwood, David" <David.Blackwood@ccra-adrc.gc.ca>
Cc: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <gulgmtgta0pto720ebgrfmobnr2i7lqhio@4ax.com>
* Blackwood, David wrote:
>I'm getting the following error despite the fact that the HTML 4.01
>documentation says that this is valid.

Only for Transitional and Frameset documents.

>Which is incorrect - the W3
>validator at http://validator.w3.org/file-upload.html or the documentation
>(http://www.w3.org/TR/html401/index/attributes.html and
>http://www.w3.org/TR/html401/present/frames.html#adef-target among others)?
>
>
>           TARGET="_newwin">Phone</A> |
>                  ^
>Error: there is no attribute "TARGET" for this element (in this HTML
>version) (explanation... </docs/errors.html>)

Ypu are probably using the strict DTD that doesn't include frame
features. '_newwin' isn't really a valid value for the target attribute,
user agents should ignore target names with a leading underscore except
the predefined target names.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Wednesday, 1 August 2001 15:28:54 GMT

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