fontFamily

H2 { font-family: Helvetica, Arial, sans-serif }

H3 { font-family: Times, serif }

H4 { font-family: Chicago, Courier, monospace }

H5 { font-family: cursive }

The font-family property controls the font an element's text is displayed in. Its value is a list of font names which are tried one at a time in order. The first font found is used.

Fonts are divided into five families (sans-serif, serif, monospace, cursive, and fantasy). For each, a default font is predefined and used when the family name is specified.