English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
HTML <embed> tag is an HTML5Elements, used as containers for embedding external content (such as external applications or browser plugins). Due to compatibility issues, the <object> tag is more commonly used for embedding resources than the <embed> tag. This tag is also commonly referred to as the <embed> element.
Embedded Flash Animation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial Website(oldtoolbag.com)</title> </head> <body> <embed type="application/x-shockwave-flash" src="bookmark.swf" width="400" height="300"> </body> </html>Test and See ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the <embed> tag.
The <embed> tag defines a container used to embed external applications or interactive programs (plugins).
Since the <embed> tag is only available in HTML5is available, so the <object> tag is used for HTML4or XHTML.
<embed> tag is an HTML 5 new tags in
Attribute | Value | Description |
---|---|---|
heightHTML5 | pixels | Specifies the height of the embedded content. |
srcHTML5 | URL | Specifies the URL of the content to be embedded. |
typeHTML5 | MIME_type | Specifies the MIME type of the embedded content. Note: MIME = Multipurpose Internet Mail Extensions. |
widthHTML5 | pixels | Specifies the width of the embedded content. |
Support for <embed> tag Global attributes of HTML.
Support for <embed> tag HTML event attributes.