L
HTML
Curriculum
Lessons
Tag Glossary
Playground
🕯️
← Back to Glossary
font-weight
Typography
Controls the boldness parameters of text nodes.
Common Value Formats
font-weight: normal;
Weight 400
font-weight: bold;
Weight 700
font-weight: 300;
Light typeface weights
interactive-example.html
<style> .bold-text { font-weight: 800; } </style> <p class="bold-text">Extra bold paragraph text lines.</p>
Live Preview