Skip to content
Related Articles

Related Articles

HTML | <object> type Attribute

View Discussion
Improve Article
Save Article
  • Last Updated : 19 Jul, 2022
View Discussion
Improve Article
Save Article

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 &lt;Object&gt; 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
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!