CSS height Property

The css height property sets the height of an element. The content area of the element height does not include the padding, border, and margin of the element.

Syntax for height property

length | percentage | auto | inherit