Your banner ad here

WestNIC provides reliable web hosting services

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

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.

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

Most common monospace fonts on Windows systems to 20 June 2009
Font name Installed (%) Sample Image
Courier New 97.82% 97.82% Text Image
Lucida Console 97.65% 97.65% Text Image
OCR A Extended 54.14% 54.14% Text Image
Consolas 49.76% 49.76% Text Image
Bitstream Vera Sans Mono 27.07% 27.07% Text
Lucida Sans Typewriter 18.02% 18.02% Text Image
Terminal 15.41% 15.41% Text Image
Andale Mono IPA 4.39% 4.39% Text
Andale Mono 3.51% 3.51% Text Image
OCRB 3.12% 3.12% Text
Monaco 2.76% 2.76% Text
Monotype.com 0.94% 0.94% Text Image
Most common monospace fonts on Mac systems to 20 June 2009
Font name Installed (%) Sample Image
Monaco 97.61% 97.61% Text Image
Courier 97.21% 97.21% Text Image
Courier New 91.43% 91.43% Text Image
Andale Mono 88.45% 88.45% Text Image
Lucida Sans Typewriter 51.61% 51.61% Text
Bitstream Vera Sans Mono 18.43% 18.43% Text
Consolas 8.29% 8.29% Text
Monotype.com 0.92% 0.92% Text
Most common monospace fonts on Unix systems to 20 June 2009
Font name Installed (%) Sample Image
Nimbus Mono L 94.02% 94.02% Text Image
DejaVu Sans Mono 92.09% 92.09% Text
Bitstream Vera Sans Mono 85.75% 85.75% Text Image
Lucida Sans Typewriter 80.00% 80.00% Text
FreeMono 68.46% 68.46% Text
Liberation Mono 67.63% 67.63% Text
Courier New 64.39% 64.39% Text
Courier 59.83% 59.83% Text Image
Andale Mono 54.99% 54.99% Text
Fixed 37.04% 37.04% Text Image
Luxi Mono 33.19% 33.19% Text Image
Terminal 21.37% 21.37% Text
Lucida Typewriter 18.71% 18.71% Text
Vera Sans Mono 7.91% 7.91% Text
Monaco 5.71% 5.71% Text

Other CSS font family resources

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.

Add this page to your chosen social bookmarking service

Style warning - please read

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