is used to define the
maximum height of an element.
If the content is smaller than the
value of the
this property has no effect.
But, if the content is larger than the
the content overflows.
height are defined,
the smaller of the two values is applied, as can
be seen in the code example given below:
p tag with
first id and a background color of yellow, gets a height of 100px because that is the smaller value between the
height values. And, the
p tag with id
second and a background color of orange, gets a height of 25px because of the same reason.