CSS Example: font-family

Examples

This is an example of a serif font.
This is an example of a sans-serif font.
This is an example of a monospace font.
This is an example of a cursive font.
This is an example of a fantasy font.

Styles Used

.exampleserif {
	font-family: Times, "Times New Roman", Georgia, serif;
}

.examplesansserif {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.examplemonospace {
	font-family: "Lucida Console", Courier, monospace;
}

.examplecursive {
	font-family: cursive;
}

.examplefantasy {
	font-family: fantasy;
}