- Description
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.
See also:
- Live Example
- Play with the code in the textarea below.
- Values
- font-family names
- Default value
- Browser default
- Introduced in CSS version
- 1
- Applies to elements
- All
- Inherited
- Yes
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties