<embed> Tag

HTML5 <embed> tag

The HTML5 <embed> tag specifies container for an external application, multimedia or interactive content into HTML document.

<embed src=”file-name.type”>


<embed src="heart-words.zip">

Default value


How Browser will display

BLOCK Level.

Difference between HTML4.01, XHTML and HTML5

NA NA New tag in HTML5

Attributes used with <embed> tag

Attribute Description
src Defines the address of the source file using a path URL.
type Tells about the type of media file.
height Sets the height of the embed element in Pixels.
width Sets the width of the embed element in Pixels.

Global Attributes

The <embed> tag supports Global attributes.

Event Attributes

The <embed> tag supports Event attributes.

Supporting Browsers

supporting-browsers for tags

Related Tags

In HTML5, there are better alternatives to use multimedia files using <audio> or <video> element.

Tutorials for all brains!