HomeReferencesCSS Properties

CSS Property: font-weight

Specifies the boldness of a font. Browsers tend not to have any levels other than 400 (the same as normal), 700 (the same as bold) and 900.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • inherit
  • normal
  • bolder
  • bold
  • lighter
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900

Example


.chubbybaby { font-weight: bold; }