HTML <object> height attribute
Definition and Usage
height
The attribute specifies the height of the object in pixels.
Example
Embedded image, height of 600 pixels and width of 400 pixels:
<object data="tulip-yellow.jpg" height="600" width="400"></object>
Syntax
<object height="pixels">
Attribute Value
Value | Description |
---|---|
pixels | Height of the object, in pixels (for example, height="100"). |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |