back

Height

This is used to set the height of an element.
It sets the height before the Border, Margin, or Padding.
Its options are:
(1) Auto, the browser will calculate the height; based on several factors, including the elements content.
(2) Length, allows you to set the height as a value like px or cm.
(3) Percentage, allows you to set the height as a percentage of its containing element.

Example