W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: implementing iframe as a kind of object?

From: Jens Meiert <jens.meiert@erde3.com>
Date: Mon, 28 Apr 2003 11:02:19 +0200 (MEST)
To: Kang Jeong-Hee <Keizi@mail.co.kr>, www-html@w3.org
Message-ID: <24378.1051520539@www16.gmx.net>

> well, what about iframe as a kind of object, for implementor?
> http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5
> mentions that IFRAME and OBJECT are 'similar'.

No, this means that the kind of insertion is similar, not the elements
themselves, correct me if I am wrong. The kind of use is definitely different, you
use the iframe element for a (in my point of view) poor and unnecessary
frame integration, and the object element to embed multimedia, like Flash movies,
images, etc. As a matter of course, you can use the object element within an
iframe.

> does it mean IFRAME is a kind of OBJECT, which inherit OBJECT?
> (I know that DOM Level 2 HTML specify HTMLIFrame as child of HTMLElement:
> http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-50708718)

No... they are IMHO independent from each other, there is no relation
between them... see text above.

> I'm willing to implement all the non-trivial datas: APPLET, IMG, EMBED,
> and IFRAME (if possible), as a kind of OBJECT.
> is this reasonable?

As far as I know it is recommended to use the object element for (all)
multimedia integration... Me, I recommend to use the img element for images
(although you can use the object element for this, too), object elements for
alternative multimedia, and to pass on the iframe element.


Regards,
 Jens Meiert.



-- 
Jens Meiert

Steubenstr. 28
D-26123 Oldenburg

Telefon +49 (0)441 99 86 147
Telefax +49 (0)89 1488 2325 91
Mobil +49 (0)175 78 4146 5

eMail <jens@meiert.com>
Internet <http://meiert.com>
Received on Monday, 28 April 2003 05:02:28 GMT

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