Sets a list of one or more font families to be used in order of preference. Browsers will use the first available to them. It is good practice to have a common generic font-family last in the list. If the font name contains a space it must be quoted. Separate font names with a comma.
Generic font family names: serif, sans-serif, cursive, fantasy, monospace.
- Live Example
- Play with the code in the textarea below.
- font-family names
- Default value
- Browser default
- Introduced in CSS version
- Applies to elements
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
See the full list CSS properties and browser support: CSS Properties