The HTML5 embed Tag
The HTML5 <embed> tag is utilized as a container of other applications or interactive content that is incorporated within the HTML document. It is necessary when adding plug-ins which can be utilized when the document is viewed on the browser.
The HTML5 <embed> tag is recognized by the major web browsers that are being used these days like the Internet Explorer, Safari, Google Chrome, Firefox and Opera.
The <embed> tag is not present in HTML4.01 and it is just introduced in HTML5. All the attributes for the HTML5 <embed> tag are new. Below is an enumeration of attributes for HTML5 <embed> tag:
Attribute |
Value |
Description |
height |
pixels |
Identifies the height of the content embedded |
src |
URL |
Identifies embedded the external file address |
type |
MIME_type |
Identifies the embedded content MIME type |
Width |
pixels |
Identifies the embedded content width |
The HTML5 <embed> tag is also capable of supporting the Event Attribute and Global Attribute in HTML5.