The typographic line-height text is the undefined height of the displayed text in pixels:

The line-height css parameter of the text contains only the height between the "header height" and the "baseline". This is in most cases 1em in my experience, as well as for most non-standard network sources. But its standardized details are better described in the @ web-tiki answer .
If there are characters that have parts above or below it, they will give text whose height (in pixels) is greater than the height of the line (in pixels).
The text may contain small details that are below or above the standard text line. For example, the lowest part of y or the strongest parts of the non-ascii character. This leads to constant problems in positioning.
If you do not set the height of the div, it will be auto by default, which means that it will have all the content. If you specify the height of the div for the actual line size, without padding, border and margin, then some pixel in your text may overflow. You just did not see it, because the default value of the overflow css parameter is visible .
Best test for this: create a div with the following settings:
#divId { height: 1em; line-height: 1em; overflow: hidden; }
... and copy-paste yŰ into your content (but the characters are ok too). You will see it on both sides.
source share