W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] <object> behavior

From: Simon Pieters <simonp@opera.com>
Date: Mon, 19 Oct 2009 06:00:15 +0200
Message-ID: <op.u1032pgwidj3kv@simon-pieterss-macbook.local>
On Sun, 18 Oct 2009 23:48:51 +0200, Ian Hickson <ian at hixie.ch> wrote:

> On Sun, 18 Oct 2009, Ben Laurie wrote:
>>
>> > but if you want a very specific type used for a plugin, you can use
>> > <embed>.
>>
>> So what's the difference between <embed> and <object>?
>
> <embed> only allows plugins; <object> also allows other things, like HTML
> and images.

<embed> also allows images (including SVG with scripts), at least in  
browsers.

-- 
Simon Pieters
Opera Software
Received on Sunday, 18 October 2009 21:00:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC