CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS font-family property




The CSS font-family property set a font face style (like arial, verdana etc..) an element.


Property Values


Properties Value Description
Syntax font-family:value;
value   font-Name
  font-family
  inherit
Allow to All elements
Inherited Yes

Example-Code:

<p style="font-family:'Courier New', Courier, monospace;">This example is font family
name arial in this element. </p>
Online Try This Code Your Self....   »

Example-Result:

This example is font family name arial in this element.