Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

HTML | <object> type Attribute

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like 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
Last Updated : 19 Jul, 2022
Like Article
Save Article
Similar Reads
Related Tutorials