CSS font stacks, media style sheets & web standards
Site navigation below

Your banner ad here

WestNIC provides reliable web hosting services

25% off cpanel web hosting and reseller hosting deals. Promo: codestyle25off

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 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