Skip to main content

Styling & CSS · Text

Font Weight

Also called: font-weight, Bold, Boldness

How thick the strokes of text are, written as a number from 100 to 900. 400 is regular and 700 is bold. It's used to separate more important info from less important info.

Example

In detail

font-weight controls how thick text is: 100 is the thinnest, 400 is regular (normal), 500 is medium, 600 is semibold, 700 is bold, and 900 is the heaviest. In practice you only use three or four: 400 for body text, 500 or 600 for emphasis and subheadings, and 600 or 700 for large headings.

Weight is an effective way to build visual hierarchy, and it's subtler than a bigger font size. Make table headers, prices, and card titles a bit bolder, and users can find the key points at a glance. But bold everywhere means nothing stands out.

Note that the font itself has to include a weight for the browser to show it. For example, Arial on Windows only comes in regular and bold, so 500 and 600 may look the same as 400 or 700. When using web fonts, only load the weights you actually use, to keep the download small.

Developer info
Term ID
style-font-weight
DOM selectors
No DOM cues. This concept isn't detected directly on a page.
Priority
1 · when several match at the same level, the higher priority wins
Version
v1 · updated Sep 29, 2026