HTML <object> type Attribute
Example
<object data="img-boy.jpg" type="image/jpg" width="300" height="150"></object>
Meaning
The type attribute specifies the MIME type for the object’s data.
This is different from codetype, which is the MIME type of the object and not of the data it uses.
Standard Syntax
<object type="mediaType">...</object>
Advertisement
Attribute Values
| Value | Description |
|---|---|
| mediaType | Specifies the type of the resource. MIME types |