Which property of CSS specifies the degree to which text should be emboldened?
2021
Which property of CSS specifies the degree to which text should be emboldened?
- A.
Font-style
- B.
Font-family
- C.
Font-weight
- D.
Font-size
Attempted by 156 students.
Show answer & explanation
Correct answer: C
The CSS property used to specify the degree of thickness or "boldness" of text is font-weight. This property accepts both keyword values and numeric values, allowing for precise control over how heavy the typeface appears.