font-weight गुण का उपयोग फ़ॉन्ट को कितना बोल्ड या हल्का दिखाना है, यह नियंत्रित करने के लिए किया जाता है। यह फ़ॉन्ट की बोल्डनेस निर्दिष्ट करने की कार्यक्षमता प्रदान करता है। संभावित मान: normal, bold, bolder, lighter, 100 से 900 तक।
<html>
<head>
</head>
<body>
<p style="font-weight:bold;">This font is bold.</p>
<p style="font-weight:bolder;">This font is bolder.</p>
<p style="font-weight:300;">This font is 500 weight.</p>
</body>
</html>
सुधार: तीसरे पैराग्राफ़ में मान 300 है लेकिन टेक्स्ट "500 weight" कहता है; सही मान 500 होना चाहिए।