You are here : cssCSS 3font-weight

font-weight - CSS 3

The font-weight property sets how thick or thin characters in text should be displayed.


Syntax

font-weight: normal|bold|bolder|lighter|number|initial|inherit;


Example

p.normal {    font-weight: normal;}
	p.thick {    font-weight: bold;}
	p.thicker {    font-weight: 900;}


Output / Return Value


Limitations


Alternatives / See Also


Reference