Quackit Logo

CSS font-weight

Also see the full, alphabetical list of CSS properties


The CSS font-weight property is used for specifying the weight of the font. Use the font-weight property to make your font bold.

Tip: Use CSS font to set the most common font properties in one go.

Syntax: font-weight: <value>
Possible Values:
  • normal
  • bold
  • bolder
  • lighter
  • 100
  • 200
  • 300
  • 400
  • 500
  • 600
  • 700
  • 800
  • 900
  • inherit
Initial Value: normal
Applies to: All elements
Inherited: Yes
Media: Visual
Example: p {font-weight: 900}
Try it yourself! HTML Editor


Also see all CSS properties listed alphabetically


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!