CSS3.com


CSS FONT-FAMILY

Font families can be divided into two groups: serif and san serif. A san serif font does not include the small lines at the end of characters, while a serif font does include these small lines. When choosing which kind you prefer, remember that studies have shown that sans serif fonts are much easier to read on a computer monitor as opposed to a serif font.

Example
body { font-family: courier, serif } p { font-family: arial, "lucida console", sans-serif }


Possible Values
family-name: A prioritized list of font family names and/or generic family names for an element.


Go Back