CSS font stacks, developer FAQs & web standards
Site navigation below

Your banner ad here

WestNIC provides reliable web hosting services

The Code Style font sampler is a guide to the most common fonts on Windows, Mac and Linux. Select your platform to contribute to the font survey, or see the results pages for CSS font samples and images. Use the font sampler to pick the right font style codes for your site.

Font stack builder thumbnail CSS fonts are specified using a comma separated font family list. If the first named font is not installed, the font style rule checks the next in line. Windows fonts, Mac and Linux font lists vary, so font styles need to be combined in order of preference.

Web font survey and sampler

Contribute to the survey and discover the new Web safe fonts.

Common fonts by generic font family

Set an unconventional font style and stack fallback fonts with confidence.

Web font foundations

Font jargon: CSS font family glossary

Find fonts: Anchor Points: Font foundries & sources

Get the sampler font code: Sampler.css

Web fonts frequently asked questions

Generic CSS font-family properties

The font style rules used for the Code Style font sampler do not declare any generic CSS font-family property. This is to ensure that they are conclusive tests for the named fonts. Normally you should specify a generic font family as a fallback; one of serif, sans-serif, monospace, cursive or fantasy.

Add this page to your chosen social bookmarking service

Style warning, please read

Home · CSS · Java · Javascript · HTML · Help · Log