HTML embed type property
Examples
Embedded with a MIME type of flash animation:
<embed src="helloworld.swf"
type="application/x-shockwave-flash">
try it"
Browser Support
All major browsers support the type attribute.
Definition and Usage
type attribute specifies the MIME type of the content to be embedded.
Differences between HTML 4.01 and HTML5
<Embed> tag is new in HTML5 tags.
grammar
<embed type="MIME_type">
Property Value
值 | 描述 |
---|---|
MIME_type | 被嵌入内容的 MIME 类型。 请参阅 IANA MIME 类型 ,获得标准 MIME 类型的完整列表。 |
HTML <embed> tag