CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: "font-weight" CSS property

The "font-weight" CSS Property

This property sets the weight (or boldness) of a font. Note that some fonts are not available in all weights.

Values for "font-weight"
CSS LevelValue
CSS Fonts Level 4"<font-weight-absolute> | bolder | lighter", where <font-weight-absolute> = "[normal | bold | <number [1,1000]>]"
CSS Fonts Level 4 (in @font-face)"auto | <font-weight-absolute>{1,2}", where <font-weight-absolute> = "[normal | bold | <number [1,1000]>]"

Notes

  • "100" is thin, "400" is the same as "normal", "700" is the same as "bold", and "900" is black/heavy.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem