HTML <embed> Tag

The embed element creates a container for an external resource, such as a web page, image, media player, or plug-in programmer.

The HTML <embed> tag is an HTML5 element used as a container for embedding external content such as an external programmer or a browser plug-in. Because of compatibility concerns, the <object> tag is more typically used to embed resources than the <embed> tag. This tag is sometimes referred to as the embed element.





Attribute Value Description
height pixels The height of the embedded information is specified.
src URL Specifies the location of the external file to be embedded.
type media-type Specifies the embedded content's media type.
width pixels The width of the embedded information is specified.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<embed> Yes Yes Yes Yes Yes