W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Which differences between <embed> and <object>

From: zhao Matt <mattzhaoweb@gmail.com>
Date: Sat, 28 Aug 2010 23:16:28 +0800
Message-ID: <AANLkTi=buVnsvch+k+YiCyO6TyCUKcd0Mk1KLifjikpE@mail.gmail.com>
According to HTML5 spec, the <embed> tag can play a swf file, however,  the
<object> tag can also play a swf file (though <object is defined in HTML4>).
I don't understand why need the <embed> tag , because the <object> tag can
support(or  embed) many objects such as images, audio, videos, Java applets,
ActiveX, PDF, and Flash.


thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100828/367395a0/attachment.htm>
Received on Saturday, 28 August 2010 08:16:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC