W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2002

Re: HTML 4.01 Error - TARGET attr in BASE elmnt

From: Matthew Johnson <johnso61@cs.newpaltz.edu>
Date: Wed, 10 Apr 2002 00:56:23 +0000 (GMT)
To: Masayasu Ishikawa <mimasa@w3.org>
cc: www-html-editor@w3.org
Message-ID: <Pine.GSO.4.21.0204100053360.23109-100000@scorpio.cs.newpaltz.edu>
Thank you for responding.  If it's not too much trouble, I would like to
know whether there is some other way, besides using a Javascript function
or the like, for specifying target windows/frames that is consistent with
the Strict DTD.  Thanks again.

-Matthew A. Johnson-


On Wed, 10 Apr 2002, Masayasu Ishikawa wrote:

> Matthew Johnson <johnso61@cs.newpaltz.edu> wrote:
> 
> > The list of attributes identifies the BASE element as one which supports
> > the TARGET attribute.  However, the description of the BASE element makes
> > no mention of the attribute TARGET.
> 
> That's on purpose.  You should notice the "L" in the DTD column of
> the list of attributes, which means that the attribute is available
> in the Loose DTD (i.e. Transitional DTD) but not available in the
> Strict DTD.  The DTD fragments throughout the specification use
> fragments from the Strict DTD, that's why the DTD fragment in
> section 12.4 [1] doesn't list the target attribute and instead
> mentions it in "attributes defined elsewhere".
> 
> >  Also, the HTML Validator treats a
> > TARGET attribute within a BASE element as an error.
> 
> I suppose you used the Strict DTD, not Transitional DTD.
> 
> [1] http://www.w3.org/TR/html4/struct/links.html#h-12.4
> 
> Regards,
> -- 
> Masayasu Ishikawa / mimasa@w3.org
> W3C - World Wide Web Consortium
> 
Received on Tuesday, 9 April 2002 20:56:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT