Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS Web Safe Fonts

CSS Web Safe Font Combinations


Commonly used font combinations

The font-family property is a list of font names acting as a "fallback" system to ensure maximum compatibility across browsers/operating systems. If the browser does not support the first font, it tries the next one.

If the browser cannot find the font type you want, it will find a similar one from the generic font families:

Example

p{font-family:"Times New Roman", Times, serif}

Try it »

The following are some commonly used font combinations and generic font families.


Serif Fonts

Font Text Example
Georgia, serif

This is a heading

This is a paragraph

"Palatino Linotype", "Book Antiqua", Palatino, serif

This is a heading

This is a paragraph

"Times New Roman", Times, serif

This is a heading

This is a paragraph

sans-serif Fonts

Font Text Example
Arial, Helvetica, sans-serif

This is a heading

This is a paragraph

Arial Black, Gadget, sans-serif

This is a heading

This is a paragraph

"Comic Sans MS", cursive, sans-serif

This is a heading

This is a paragraph

Impact, Charcoal, sans-serif

This is a heading

This is a paragraph

"Lucida Sans Unicode", "Lucida Grande", sans-serif

This is a heading

This is a paragraph

Tahoma, Geneva, sans-serif

This is a heading

This is a paragraph

"Trebuchet MS", Helvetica, sans-serif

This is a heading

This is a paragraph

Verdana, Geneva, sans-serif

This is a heading

This is a paragraph

Monospace Fonts

Font Text Example
"Courier New", Courier, monospace

This is a heading

This is a paragraph

"Lucida Console", Monaco, monospace

This is a heading

This is a paragraph