What is the purpose of the CSS line-height property?

  • Adjusts the space between characters in a text
  • Controls the space between lines of text
  • Sets the height of an inline element
  • Specifies the height of a line of text
The line-height property in CSS defines the height of a line box, which is the space that a line of text occupies. It can be set using various units such as pixels or percentages and is crucial for controlling the vertical spacing in text.
Add your answer
Loading...

Leave a comment

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