Skip to main content

How to Make Text Bold in CSS

Master the font-weight property with this complete reference. Learn numeric values, keywords, and when to use semantic HTML.

Quick Answer

Font Weight Scale (100-900)

The font-weight property accepts values from 100 to 900 in increments of 100. Here is a visual reference for each weight.

The quick brown fox jumps over the lazy dog
100Thin
The quick brown fox jumps over the lazy dog
200Extra Light
The quick brown fox jumps over the lazy dog
300Light
The quick brown fox jumps over the lazy dog
400Normal(normal)
The quick brown fox jumps over the lazy dog
500Medium
The quick brown fox jumps over the lazy dog
600Semi Bold
The quick brown fox jumps over the lazy dog
700Bold(bold)
The quick brown fox jumps over the lazy dog
800Extra Bold
The quick brown fox jumps over the lazy dog
900Black

Semantic HTML vs CSS Bold

When to Use Semantic HTML

  • *<strong> - Important text (announced by screen readers)
  • *<b> - Stylistically bold without extra importance

Best Practices

  • +Use font-weight: 700 (numeric) for consistency across teams
  • +Check if your font supports the weight you need (most fonts only have 400 and 700)
  • +Use <strong> for semantically important text
  • +Consider variable fonts for access to all weight values

Frequently Asked Questions

What's the difference between bold and 700?

font-weight: bold and font-weight: 700 are exactly the same. The keyword 'bold' is simply a shorthand for the numeric value 700. Similarly, 'normal' equals 400.

When should I use <strong> vs CSS bold?

Use <strong> when the text is semantically important (screen readers announce it with emphasis). Use CSS font-weight when you only want visual boldness without semantic meaning, like in navigation or decorative text.

Why doesn't my font-weight work?

The font you're using might not support that weight. Variable fonts support all weights 100-900, but most fonts only include specific weights like 400 and 700. Check if your font file includes the weight you need.