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
Example:
html
<!DOCTYPE html>
<html>
<body>
<center>
<object id="myobject"
width="400"
height="100"
data=
"https://media.geeksforgeeks.org/wp-content/uploads/geek-8.png"
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:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4