Description

The <embed> element can be used to embed external application, typically multimedia content like audio or video into an HTML document.

The following table summarizes the usages context and the version history of this tag.

Placement:Block
Content:None. It is an empty element.
Start/ End Tag:Start tag: required, End tag: forbidden
Version:HTML 5

Syntax

The basic syntax of the <embed> tag is given with:

HTML: <embed>; XHTML: <embed />

The example below shows the <embed> tag in action.

<embed src="blur.swf" width="400px" height="200px">

Note: The <embed> tag is very well supported in most of the web browsers from a long time. However, the <embed> tag has not been a part of the HTML 4 specification. It is included in HTML5 as a standard.

Tag-Specific Attributes

The following table shows the attributes that are specific to the <embed> tag.

Global Attributes

Like all other HTML tags, the <embed> tag supports the global attributes in HTML5.

Event Attributes

The <embed> tag also supports the event attributes in HTML5.

Browser Compatibility

Element
<embed>YesYesYesYesYes