Say Hello to the HTML5 Embed Element
In HTML5, the <embed>
element defines a container for an external application or interactive content
(a plug-in). In this example, we will use it to display a Flash movie:
The <embed>
tag is supported in Internet Explorer, Firefox, Opera, Chrome and Safari.
type="application/x-shockwave-flash" – specifies the MIME type of the embedded content
For
more informations, please visit http://www.w3.org/TR/html5/the-embed-element.html#the-embed-element.
Published at DZone with permission of its author, Constantin Alin. (source)<!DOCTYPE html> <html> <body> <embed src="stars.swf" type="application/x-shockwave-flash" width="500" height="350" /> </body> </html>And the output will be:
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Tags:



