The font-style property primarily serves to designate italic text.
It offers three values:
Example
p.normal { font-style: normal; } p.italic { font-style: italic; } p.oblique { font-style: oblique; } |
The font-weight property determines the thickness or heaviness of a font.
Example
p.normal { font-weight: normal; } p.thick { font-weight: bold; } |
The font-variant property dictates whether text should be presented in a small-caps font format.
In small-caps font, lowercase letters are rendered as uppercase letters, but they appear in a smaller font size compared to the original uppercase letters in the text.
Example
p.normal { |