The height property defines the height of the element.
height in CSS Versions:
height: <length> | <percentage> | auto | inherit
A specific length (include unit of measure).
A percentage of the height of the parent element.
Allows the user-agent to define the height based on inheritance and pre-set user-agent rules.
The element should have the same height setting as the parent.
height Initial Value:
height Applies To:
This property is not inherited.
height Browser Support:
Standard height property
<p style="height : 500px;"> This paragraph is 500px tall. </p>
height Special Notes:
- Negative values are not allowed.
- When used for replaced elements, the height will be enforced by scaling the element.