``` ## Example Embedding an HTML Page: ```html "> ``` ## Example Embedding an HTML Page: ```html " />
Easy Tutorial
❮ Att Input Autocomplete Ev Onunload ❯

HTML <embed> Tag

Example

Embedding an Image:

<embed type="image/jpg" src="https://static.tutorialpro.org/images/tutorialpro-logo.png" width="258" height="39">

Example

Embedding an HTML Page:

<embed type="text/html" src="snippet.html" width="500" height="200">

Example

Embedding a Video:

<embed type="video/webm" src="video.mp4" width="400" height="300">

Browser Support

All major browsers support the <embed> tag.


Tag Definition and Usage

The <embed> tag defines a container for an external application or interactive content (plugin).

Note: The <embed> tag is now deprecated. Use <img>, <iframe>, <video>, <audio>, etc., instead.


Differences Between HTML 4.01 and HTML5

The <embed> tag is new in HTML5.


Attributes

Attribute Value Description
height New pixels Specifies the height of the embedded content.
src New URL Specifies the URL of the embedded content.
type New MIME_type Specifies the MIME type of the embedded content. <br>Note: MIME = Multipurpose Internet Mail Extensions.
width New pixels Specifies the width of the embedded content.

Global Attributes

The <embed> tag supports HTML's global attributes.


Event Attributes

The <embed> tag supports HTML's event attributes.

❮ Att Input Autocomplete Ev Onunload ❯