CSS font stacks & developer FAQs with Web standards

WestNIC provides reliable web hosting services

100 Best Free Web Space offers high quality free web hosting reviews

Fastwebhost offers cheap web hosting & reseller hosting services

Site navigation below

CSS fonts should be based on a generic font family to ensure an appropriate style font is rendered in any circumstances. Preferred font names should be declared in order of preference in a comma separated font family list tailored for specific platforms.

CSS font family: monospace

Monospace fonts have a fixed width like typewriters and often have strong angular or block serifs. Monospace font faces are often used code samples and have a simple, functional font style. Use the CSS font family name monospace.

Take the Linux font survey before you go

The most common monospace fonts

The only monospace font that is likely to be present on all systems is Microsoft Courier New, which is relatively common on all platforms. However, the original Courier font on which it is based is more common on Mac and Unix family systems. Andale Mono is also available on Windows, Mac and Unix family systems, but is far less common.

Monospace font names may indicate the style of lettering, with suffixes "console", "typewriter", "mono" and "fixed".

Check font coverage by Unicode range

Tables show definite coverage for the specified range, some fonts may not be listed despite having coverage as Unicode data is added to the survey.

Unicode range data compiled with reference to Alan Wood's Unicode Resources.

Most common monospace fonts on Windows to 17 December 2011
Font name Installed (%) Stack Image
Courier New99.69%99.69%StackImage
Lucida Console99.27%99.27%StackImage
Consolas85.27%85.27%StackImage
Lucida Sans Typewriter76.26%76.26%StackImage
OCR A Extended67.09%67.09%StackImage
DejaVu Sans Mono34.94%34.94%Stack
Bitstream Vera Sans Mono18.76%18.76%Stack
Andale Mono4.25%4.25%StackImage
OCRB3.09%3.09%Stack
Andale Mono IPA2.83%2.83%Stack
Monaco2.67%2.67%Stack
Monotype.com0.84%0.84%StackImage
FreeMono0.25%0.25%Stack
Terminal0.21%0.21%StackImage
Most common monospace fonts on Mac to 17 December 2011
Font name Installed (%) Stack Image
Monaco99.84%99.84%StackImage
Courier99.68%99.68%StackImage
Lucida Sans Typewriter99.68%99.68%Stack
Courier New95.89%95.89%StackImage
Andale Mono95.41%95.41%StackImage
Menlo72.17%72.17%Stack
Consolas40.66%40.66%Stack
Bitstream Vera Sans Mono6.49%6.49%Stack
Courier Std2.65%2.65%Stack
Monotype.com0.47%0.47%Stack
Most common monospace fonts on Linux to 17 December 2011
Font name Installed (%) Stack Image
Nimbus Mono L98.33%98.33%StackImage
DejaVu Sans Mono97.37%97.37%StackImage
Liberation Mono86.63%86.63%Stack
Courier 10 Pitch85.12%85.12%Stack
FreeMono83.29%83.29%StackImage
Courier New68.74%68.74%Stack
Andale Mono67.54%67.54%Stack
Tlwg Typist64.04%64.04%Stack
TlwgMono64.04%64.04%Stack
TlwgTypewriter64.04%64.04%Stack
Tlwg Typo63.48%63.48%Stack
Lucida Sans Typewriter56.30%56.30%StackImage
Bitstream Vera Sans Mono46.06%46.06%StackImage
Luxi Mono18.62%18.62%StackImage
Courier14.08%14.08%StackImage
DejaVu LGC Sans Mono7.14%7.14%Stack
Monaco2.06%2.06%Stack
Fixed0.24%0.24%StackImage

Take the Linux font survey before you go

Check font coverage by Unicode range

Tables show definite coverage for the specified range, some fonts may not be listed despite having coverage as Unicode data is added to the survey.

Unicode range data compiled with reference to Alan Wood's Unicode Resources.

Other CSS font family resources

Web font survey and sampler

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

Web font foundations

Font jargon: CSS font family glossary

Find fonts: Anchor Points: Font foundries & sources

Get the sampler font code: Sampler.css

Article feedback

Your comments on this article will be appreciated, please use the form below to submit your views. If you would like a reply or article update notification, include your email address.

Information: Your email address will not be mis-used. If you include your address you may be sent a personal reply, you will not be added to any mailing list unless you request update notification. Read the site privacy statement for details.

What if you were One Percent Better? Ebooks for Web developers on iPad, Kindle, Nook and Sony Reader
Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Web manager