Leading

The first in question is known as leading (pronounced “ledding”) in typography. Leading is the space between the top x-height of a font and the line of text above it.

leading

We will refer to this more simply as line-height, as that is the css property which sets it (line-height: ). The line hight property in CSS sets the vertical spacing between the lines of text.

CSS
* {
  line-height: normal;
}

As with font size, you can set the line height through a number of units, including absolute and relative. If desired, one can set the line height as an absolute pixel (px) value. However, you are encouraged to use a number, percent, or ems.

line-height: accepts these term values:

  • normal (default)
  • pixels (px)
  • points (pt)
  • percent (%)
  • ems (em)
  • number (value multipled with font-size)
  • …most other size terms

NOTE: When you include a number, without any unit attached, the browser multiplies the current font size to set the line height. This is equivalent to calling a percentage or em. So, the following are all the same:

CSS
* {
  line-height: 2;
}
* {
  line-height: 200%;
}
* {
  line-height: 2em;
}

“What is an appropriate line height?”

An appropriate line height, at its simplest, is one that encourages readability and understanding of the content.

However, in general, ideal leading ratios tend to be mentioned in the range of 1.2 - 1.45 times the text size. This is typically larger than the size of a horizontal space between words, which encourages the eyes movement along the line, but not so large as to make text look separate from each other.