HTML

Line-Height:

  • Line height property specifies the height of a line .
  • It is a css property.
  • It increases the space between lines.
  • It will not allow negative values.
  • The default property of line-height is normal
  • it will allow values as px,%,cm,pt,number.

Syntax: selector{
                           line-height:value;
                          }
Letter-spacing:

  • The letter spacing property increases or decreases the space between characters in a text.
  • The default value of letter spacing is normal.
  • It will allow negative values.
  • it will allow values as px,cm.
  • whenever we specify value as negative then it will decrease the space between characters

Syntax: selector{
                         letter-spacing: value; (or)
                         letter-spacing: -value;
                           }
EX:
Code:


OUTPUT: