On Fri, Sep 24, 2010 at 3:36 AM, Geoff Lane <[email protected]> wrote:
> BTW, switching my doctype declaration to 4.01 strict and then running
> the page through W3C's validator jogged my memory as to why I've
> stayed with the transitional standard: the target attribute of the
> anchor tag is deprecated and my pages often have 'target="_blank"' to
> open content in a new window without resorting to JavaScript.
>
I use this DOCTYPE to allow the target attribute in an otherwise strict
document:
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"
[ <!ATTLIST a target CDATA #IMPLIED> ]
>
-Mike
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/