Javatpoint Logo
Javatpoint Logo

HTML <embed> tag

HTML <embed> tag is used to embed an external document in an HTML file which can be a third party application, multimedia, plugin(interactive content), etc. This element is new in HTML5.

Note: The <embed> element can be used to contain third party applications as well multimedia documents but in HTML5 the newly added <audio> and <video> elements are especially used to embed multimedia in HTML document.


Following are some specifications about the HTML <embed> tag

Display block
Start tag/End tag Both Start and End tag
Usage Embed third-party applications

Example 1

Test it Now


HTML embed tag


Tag-specific attribute

Attribute Value Description
height pixels It specifies the height of the embedded content
src URL It defines the resource location of the embedded document.
type media-type It specifies the MIME type.
width pixels It determines the width of the embedded content.

Global attribute

The <embed> tag supports the global attributes in HTML

Event attribute

The <embed> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
Next TopicHTML fieldset Tag

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA