height property
Gets the height of the rectangle that surrounds the object content.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Floating-point
The height of the rectangle, in pixels.
Standards information
Remarks
The height of the rectangle can also be calculated by subtracting the value of the top property from the value of the bottom property.
See also
Show:
