Set the font weight with 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>
   <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:500;">This font is 500 weight.</p>
   </body>
</html>
raja
Published on 13-Apr-2018 10:37:31
Advertisements