font-family

a list of fonts, in order of preference, to use for text rendering

Example

1

Description

a list of fonts, in order of preference, to use for text rendering

Accepts a comma-separated list of font families, in order of preference. The first available font will be used. Request a specific font family by name, or a choose a generic font family supplied by the browser.

Values

Value Description
Values
<family-name>name of a specific font family, like "Times New Roman"
cursivethe browser's "cursive" font
fantasythe browser's "fantasy" font
monospacea generic monospaced font
sans-serifa generic sans-serif font
serifa generic serif font