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
1
2
3
body {
  font-family: courier, serif
}
1
2
3
p {
  font-family: arial, "lucida console", sans-serif
}
1
<p style="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.