1. Computing & Technology

Discuss in my forum

What are the generic font families in CSS?

By , About.com Guide

Generic font family examples

Generic font family examples

Screen shot by J Kyrnin
Question: What are the generic font families in CSS?
Answer:

If the user agent viewing your Web page does not have access to the font you have chosen, it will use a different font instead. If you indicate which generic font family you'd like the user agent to use, you can have a little more control over your Web page.

The generic fonts are:

  • cursive
  • fantasy
  • monospace
  • sans-serif
  • serif

©2012 About.com. All rights reserved.

A part of The New York Times Company.