HTML <embed> tag
Browser Support
All major browsers support <embed> tag.
Tag definitions and instructions
<Embed> tag defines a container for embedding external application or interactive program (plug-in).
Differences between HTML 4.01 and HTML5
<Embed> tag is new in HTML 5 tag.
Attributes
New: HTML5 new property.
属性 | 值 | 描述 |
---|---|---|
height New | pixels | 规定嵌入内容的高度。 |
src New | URL | 规定被嵌入内容的 URL。 |
type New | MIME_type | 规定嵌入内容的 MIME 类型。 注:MIME = Multipurpose Internet Mail Extensions。 |
width New | pixels | 规定嵌入内容的宽度。 |
Global Properties
<embed> tag supports HTML global properties .
Event Properties
<embed> tag supports HTML event properties .