The font-weight Property

This property sets the weight of the font, or, how bold it is.

p { font-weight: bold }

Here's the syntax with some examples:

Property Value Example
font-weight: normal

The quick brown fox jumps over the sleazy dog.

font-weight: bold

The quick brown fox jumps over the sleazy dog.

font-weight: bolder

The quick brown fox jumps over the sleazy dog.

font-weight: lighter

The quick brown fox jumps over the sleazy dog.

font-weight: <100-900>

The quick brown fox jumps over the sleazy dog. (100)

The quick brown fox jumps over the sleazy dog. (450)

The quick brown fox jumps over the sleazy dog. (900)