line-height

Term side of the Card
Topic: Text Handling
Unit title: line-height
Categories: Property
Explanation side of the Card

Explanation: The property that sets the height of a line of text, which includes both the text itself and the space above and below it. Adjusting `line-height` can improve readability by controlling the vertical spacing between lines, making text easier to read and aesthetically pleasing.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: