Height

The   property is used in CSS and certain HTML elements. It specifies the height of the content area of an element. The content area is inside the,  , and   of the element.

Values

 * - Examples of length units are,  ,  , etc.
 * - The  is calculated with respect to the height of the containing block. If the height of the containing block is not specified explicitly, the value computes to  . A percentage height on the root element (e.g.  ) is relative to the viewport.
 * - The browser will calculate and select a height for the specified element.

HTML example:

 1st heading content.

CSS example:

h1 { height:50px; width:100px; }