Font Weight
So far, we have only learned to bold the text using the strong element. But when we want to specify the exact font weight, we use the font-weight property. Possible values are numbers from 100 to 900, where 100 is the thinnest font and 900 is the boldest font.
For example:
p {
font-weight: 100;
}This would set the font weight of paragraphs to the thinnest possible.
Instructions
Set the font weight to the boldest (900) for the element with id title.
Start programming for free
3/9