Re: no attribute "TARGET"?

* 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 UTC