Text Formatting

Line Height

We can control the space between lines of text using the line-height property.

The value can be in px, em, %, or just a number like 1.5 or 2.

The number value or percentage is used as a multiplier. line-height: 1.5 means the space between the lines will be 1.5 times the size of the text.