Block layouts, such as the default div , consist of a vertical stack of lines that never have space between them and never overlap. Each line window starts with a rack, which is an imaginary built-in block with the height of the line height specified for the block. The line of the line is then continued using the built-in markup blocks according to their line heights.
The diagram below shows the layout for your first example. Please note that since the font height is 1.7 times less than the height of the rack, the line height is determined by the height of the rack, since the line field must completely contain its built-in rectangles. If you set the line height on the span more than 200px, the lines of the lines will be higher and you will see that the text moves further.

When you create an inline span block, the relationship between the div and span does not change, but the range gets its own block layout structure with its own line stack. Thus, text and line breaks are laid out inside this internal stack. The stand of the indoor unit is 1.7 times the font height, that is, the same as the text, and the layout now looks like the one shown below, so the text lines are closer to each other, which reflects the span line height setting,
(Note that the two charts are at different scales.)

Alohci Aug 07 2018-12-12T00: 00Z
source share