English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The object height attribute specifies the height of the object in pixels.
height 500 Pixel and width of 300 pixel flash animation:
!DOCTYPE html <html> <head> <title>HTML:<object> height Attribute - Basic Tutorial Website(oldtoolbag.com)<//title> </head> <body> <object data="helloworld.swf" width="500" height="300"></object> </body> </html>Test it out ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the height attribute.
The height attribute specifies the height of the object in pixels.
None.
<object height="pixels">
Value | Description |
---|---|
pixels | Object height in pixels (for example height="100"). |