HTML object type attribute
Examples
It has a specific MIME type <object> element:
<object width="400" height="400" data="helloworld.swf"
type="application/x-shockwave-flash"></object>
try it"
Browser Support
All major browsers support the type attribute.
Definition and Usage
type attribute specifies the MIME type of object.
Differences between HTML 4.01 and HTML5
no.
grammar
<object type=" MIME_type ">
Property Value
值 | 描述 |
---|---|
MIME_type | 被嵌入内容的 MIME 类型。 请参阅 IANA MIME 类型 ,获得标准 MIME 类型的完整列表。 |
HTML <object> tag