HTML <embed> Tag


The <embed> element is used to load and display objects (for example, video files, flash clips, some sound files, etc.) that the browser does not understand initially. Typically, such objects require a special module called a plug-in to connect to the browser, or the launch of an auxiliary program.


Permitted Parents
Any element that accepts embedded content
None. It is an empty element.
Start/End Tags
Start tag: required, End tag: forbidden


<embed type="video/webm" width="240" height="176" src="audio/toy.mp4">


Attribute Definition
height Specifies the height, in pixels, to display the external content
src Specifies the location of the external file. Its value must be the URI of the resource being embedded
type Specifies the type of the embedded content. If specified, the value must be a MIME type
width Specifies the width, in pixels, to display the external content

Global Attributes

The <embed> tag also supports the Global Attributes in HTML5

Event Attributes

The <embed> tag also supports the Event Attributes in HTML5

Browser Support

Explorer Edge Chrome Firefox Opera Safari
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung

Last updated by CSSPortal on: 6th December 2019