HTML | <object> type Attribute
Last Updated :
19 Jul, 2022
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=
type="application/vnd.adobe.flash-movie">
</ object >
< h1 >GeeksForGeeks</ 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
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...