HTML <embed> tag

Updated: 11/13/2018 by Computer Hope
HTML embed tag

When writing in HTML, the <embed> tag is a block element used to designate an area for interactive content (plug-in) or an external application. It is useful when you want to add content that might not be natively supported by an Internet browser. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Example of <embed> code

<embed src="/jargon/m/example.mp3"></embed>

Example result


Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the <embed> tag, as well as a description of each.

Attribute Description
height Designates the height of the embedded content.
src Designates the area from which the embedded content is being imported.
type Designates the embedded content's media type.
width Designates the width for the embedded content.


Edge Internet Explorer Firefox Safari Opera Chrome
All versions All versions All versions All version All versions All versions

Browser, Compatibility, HTML audio tag, HTML video tag, URL, Web design terms