Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

HTML <object> height Attribute

❮ HTML <object> tag

Example

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

Attribute
height Yes Yes Yes Yes Yes

Syntax

<object height="pixels">

Attribute Values

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

❮ HTML <object> tag