# Usage of font-weight property in CSS

JavascriptWeb DevelopmentFront End Scripts

The font-weight property is used to increase or decrease how bold or light a font appears. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.

<html>
<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>
Published on 13-Apr-2018 11:02:07