CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS font-weight property




The CSS font-weight property set a font weight style bold, ligher, bolder etc..


Property Values


Properties Value Description
Syntax font-weight:value;
value   normal
  bold
  bolder
  lighter
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="font-weight:normal;">This example font weight type Normal</p>
<p style="font-weight:bold;">This example font weight type Bold</p>
<p style="font-weight:lighter;">This example font weight type Lighter</p>
Online Try This Code Your Self....   »

Example-Result:

This example font weight type Normal

This example font weight type Bold

This example font weight type Lighter