[whatwg] <object> behavior

Simon Pieters simonp at opera.com
Sun Oct 18 21:00:15 PDT 2009


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


More information about the whatwg mailing list