What is the use of font properties? Describe any three font properties.
Answers
➡The font-style property is used to make a font italic or oblique. The font-variant property is used to create a small-caps effect. The font-weight property is used to increase or decrease how bold or light a font appears. The font-size property is used to increase or decrease the size of a font.
➡Font Style
The font-style property defines that the font be displayed in one of three ways: normal, italic or oblique (slanted).
➡Font Variant
The font-variant property determines if the font is to display in normal or small-caps. Small-caps are displayed when all the letters of the word are in capitals with uppercase characters slightly larger than lowercase.
➡Font Weight
The font-weight property is used to specify the weight of the font. The bolder and lighter values are relative to the inherited font weight, while the other values are absolute font weights.