HTML | <object> type Attribute
The HTML <object> type Attribute is used to specify the Internet type of MIME type of the Object.
Syntax:
<object type="media_type">
Attribute Values
- media_type It is used to specify the Internet media type of the embedded file.
Example:
html
<!DOCTYPE html> < html > < body > < center > < object id="myobject" width="400" height="100" data= "https://media.w3wiki.net/wp-content/uploads/geek-8.png" type="application/vnd.adobe.flash-movie"> </ object > < h1 >w3wiki</ h1 > < h2 >HTML <Object> type Attribute</ h2 > </ center > </ body > </ html > |
Output:
Supported Browsers: The browser supported by HTML Object type Attribute are listed below:
- Google Chrome
- Edge 12
- Internet Explorer
- Firefox 1
- Safari
- Opera