The max-height
property in CSS is used to set
the maximum height of an element, allowing us to
restrict how tall the element can grow.
In the above example, we have applied the max-height
property to the p
element. This way, we can control its height.