CBSE Class 10 Computer Applications
Question 53 of 56
Cascading Style Sheets (CSS) — Question 7
Back to all questions 7
Question Question 7
Differentiate between the Font-weight and Font-variant properties.
| S. No. | Font-weight property | Font-variant property |
|---|---|---|
| 1. | This property specifies the weight or boldness of the font. Possible values are 100-900, bold, bolder, lighter, and normal. | This property sets the text font in two variants: normal or small-caps. |
| 2. | For example,H1 {Font-weight : bolder} | For example,H1 {Font-variant : small-caps;} |