How does the "line-height" property affect the vertical spacing of a block of text?

  • It defines the space between two blocks of text
  • It determines the height of each line of text
  • It has no impact on the vertical spacing of text
  • It sets the space between characters within a line
The "line-height" property in CSS specifies the vertical space between lines of text within a block. A larger line-height value increases the vertical spacing, making text more readable, while a smaller value reduces the spacing. It is crucial for controlling text layout and readability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *