W3C home > Mailing lists > Public > www-html@w3.org > August 2000

TARGET attribute in STRICT DTD

From: Joe Kaczmarek <joe@getq.com>
Date: Mon, 28 Aug 2000 11:08:46 -0400 (EDT)
Message-ID: <39AA8072.33B398EC@getq.com>
To: "www-html@w3.org" <www-html@w3.org>
I've noticed that the "target" attribute for "A" (or "BASE" or anything
pertaining to a link) is not valid in strict DTD.

I have to question why.

I understand that "target" means to which "frame" is the link is
supposed to open in, and frames are in the frameset DTD and not the strict.

But consider what frames create. They create the means for a "usable"
and standards-comforming page to be opened in an un-usable environment.
For example, if the W3C site were to be opened in somebody's frame of
only 100px by 100px. In this case, unless the visitor knows how to use
the user agent's options to open the W3C site into another window (if
the user agent even has any option to do so), otherwise, the visitor
will only be able to browse the W3C site in that confined 100px by 100px window.

Other than the visitor knowing how to open the W3C outside of the frame,
the only other option (within strict DTD) would be to have JavaScript on
the page to break the site out of the frame (which will not work if the
visitor has JavaScript turned off, or is using a non-javascript (but
frames capable) browser). Or another option is to have a BASE tag in the
head with a target="_top" attribute/value. But then this last option is
not valid in strict DTD

Are there other options? Is the above example not even a concern? Or
should something be included into strict DTD to ensure that a web site
can be freed of a tiny frame window that another site has openned it into?


| Joe Kaczmarek     | MON: |
| Senior Programmer | 0828 |
| <joe@getq.com>    | 2000 |
| Q <http://www.getq.com>  |
| 4850 N. State Road 7     |
| Suite G104               |
| Ft. Lauderdale, FL 33319 |
| P: 954-739-4387          |
| F: 954-739-1964          |
Received on Monday, 28 August 2000 12:52:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC