Tutorials References Exercises Bootcamp Menu
Sign Up Create Website Get Certified Pro

HTML <object> height Attribute

❮ HTML <object> tag


An embedded image with a height of 300 pixels and a width of 200 pixels:

<object data="pic_trulli.jpg" height="300" width="200"></object>
Try it Yourself »

Definition and Usage

The height attribute specifies the height of the object, in pixels.

Browser Support

height Yes Yes Yes Yes Yes


<object height="pixels">

Attribute Values

Value Description
pixels The height of the object, in pixels (i.e. height="100")

❮ HTML <object> tag