Skip to content
Related Articles

Related Articles

HTML | <object> type Attribute
  • Last Updated : 12 Jul, 2019

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:




<!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
  • Internet Explorer
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up
Recommended Articles
Page :