W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1998

Re: IFRAME specification

From: Arnaud Le Hors <lehors@w3.org>
Date: Wed, 19 Aug 1998 14:59:50 +0200
Message-ID: <35DACC46.A3503DE9@w3.org>
To: twhall@cuhk.edu.hk
CC: www-html-editor@w3.org
Theodore W. Hall wrote:

>       Since IFRAME doesn't appear here, I assume that it's either
>       Frameset or Transitional.

It's in both actually. The point is that basically everything that is
allowed in a "normal" document is also allowed in a frameset document
inside NOFRAMES.

>       The example implies that it's in the Frameset DTD:
> 
>          "For user agents that support frames, the following example
>           will place an inline frame surrounded by a border in the
>           middle of the text."

Sorry, I don't see how this exemple implies that it's in the Frameset
DTD.

>       However, the reference delimits all of the /other/ Frameset
>       elements with
> 
>          <![ %HTML.Frameset; [
>          ]]>

Both IFRAME and NOFRAMES can be used outside used outside FRAMESET.


>       (16.4.1, the NOFRAMES element, is missing the closing "]]>")

Sorry, I don't understand what you mean.

>       (Transitional?) DTD.  It's the only "loose" element that isn't
>       also marked as deprecated.  Except for this, I would have
>       thought that "loose" and "deprecated" were synonymous.

You're right, they are synonymous except for this! :-)
Seriously, the Strict DTD is everything minus deprecated elements and
attributes *and* the frames. The rule to have in mind is:

If you want to use inline frames you must use the Transitional DTD.
If you want to use other frames (possibly in addition to inline frames)
you must use the Frameset DTD and the Transitional DTD.
But if you can avoid using frames at all, it's better; and you can then
use the Strict DTD.

I hope this helps.
-- 
Arnaud Le Hors - W3C, User Interface Domain - www.w3.org/People/Arnaud
Received on Wednesday, 19 August 1998 08:59:50 GMT

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