The height
property defines the height of an element. The height of an element does not include padding, borders, and margins.
height: value | auto;
.mydiv{
height: 50px;
border:1px solid red;
}
value: sets the provided value as the height of an element.
auto: automatically sets the height to display the element’s content.