Set Font Weight Using font-weight [3/16]
To specify the font weight, you can use the
font-weight property which can take on two basic values:
normalto set the normal weight
boldto set the bold weight.
Actually, this property can have many values: bold, bolder, lighter, normal, 100, 200, 300, 400, 500, 600, 700, 800, 900. These values set gradations of font weight ranging from the thinnest to the thickest.
However, most browsers are still capable to display only two variants of font weight: normal and bold. Therefore, the other property values are typically not used.
- Make the heading normal
- Boldify the text within tags with the
- Also make the text of list items bold.