CSS font weight Property
CSS font-weight Property
The font-weight property is used to set how thick or thin characters in text should be displayed.
Its default is normal.
Its syntax is:- font-weight: normal | bold | bolder | lighter | number | initial | inherit;
|normal||Defines normal characters.|
|bold||Defines thick characters|
|bolder||Defines thicker characters|
|lighter||Defines lighter characters|
|Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold|
|initial||Sets this property to its default value.|
|inherit||Inherits this property from its parent element.|