Skip to content
Related Articles

Related Articles

Improve Article

HTML | <object> height Attribute

  • Last Updated : 28 Jun, 2019
Geek Week

The HTML <object> height attribute is used to specify the height of the object element in terms of pixel.


<object height="pixels">

Attribute Values:

  • pixels: It holds the height of the object in terms of pixels.

Below example illustrates the <object> height attribute in HTML:


<!DOCTYPE html> 
        HTML object height Attribute
<body style="text-align:center;"
    <h2>HTML object height Attribute</h2
    <object id="myobject" width="400"
                height="200" data


Supported Browsers: The browser supported by HTML object height attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :