css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

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}

<p style=”font-family: arial, ‘lucida console’, sans-serif”>   

 

Possible Values

Value Description
family-name   

generic-family

 

A prioritized list of font family names and/or generic family names for an element 

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2189 access attempts in the last 7 days.