Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML object height Attribute

HTML height property

HTML object Tag Reference HTML tag

Example

A Flash animation with a height and width of 400 pixels:

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the height property.


Definition and Usage

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


Differences between HTML 4.01 and HTML5

none.


Syntax

Attribute values

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

HTML object Tag Reference HTML tag