[whatwg] <object> behavior

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