HTML5 <embed> Tag
Example
Try it yourself » |
Definition and Usage
The <embed> tag defines embedded content, such as a plug-in.
Differences Between HTML 4.01 and HTML5
The <embed> tag is new in HTML5
Attributes
New : New in HTML5.
Attribute | Value | Description |
---|---|---|
heightNew | pixels | Specifies the height of the embedded content |
srcNew | url | Specifies the URL of the embedded content |
typeNew | type | Specifies the MIME type of the embedded content |
widthNew | pixels | Specifies the width of the embedded content |
Standard Attributes
The <embed> tag also supports the Standard Attributes in HTML5.
Event Attributes
The <embed> tag also supports the Event Attributes in HTML5.