Web Design Fonts
Web design fonts are typically defined in a CSS stylesheet. Best practice is to create a separate file for CSS definitions, such as style.css, then reference this file in the header of a webpage using the link tag: <link rel=”stylesheet” type=”text/css” href=”style.css” />
Here is a list of CSS Font definitions currently supported by web browsers:
ARIAL:¹
font-family:Arial,’DejaVu Sans’,'Liberation Sans’,Freesans,sans-serif;
ARIAL NARROW:
font-family:’Arial Narrow’,'Nimbus Sans L’,sans-serif;
ARIAL BLACK:¹
font-family:’Arial Black’,Gadget,sans-serif;
BOOKMAN: Easy-reading, wider and heavier than most serif fonts.
font-family:’Bookman Old Style’,Bookman,’URW Bookman L’,'Palatino Linotype’,serif;
CENTURY GOTHIC: Widely installed and should be used more in headings.
font-family:’Century Gothic’,futura,’URW Gothic L’,Verdana,sans-serif;
COMIC SANS MS:¹ People love it or hate it—there’s even a movement devoted to banning it. No Linux equivalent.
font-family:’Comic Sans MS’,cursive;
CONSOLE: Monospace sans, brighter and easier-reading than Courier-types, sets at same width.
font-family:Consolas,’Lucida Console’,'DejaVu Sans Mono’,monospace;
COURIER:¹ Monospace typewriter; Consolas looks better than Courier at smaller sizes.
font-family:’Courier New’,Courier,’Nimbus Mono L’,monospace;
GEORGIA:¹ Pretty for titles and headings but has annoying descended numerals.
font-family:Constantina,Georgia,’Nimbus Roman No9 L’,serif;
HELVETICA: Primarily a Mac font; should fall back to Arial to cover Windows machines.
font-family:Helvetica,Arial,’DejaVu Sans’,'Liberation Sans’,Freesans,sans-serif
IMPACT:¹ MS proprietary. Risky on non-win systems.
font-family:Impact, Haettenschweiler, ‘Arial Narrow Bold’, sans-serif;
LUCIDA SANS:
font-family:’Lucida Sans Unicode’,'Lucida Grande’,'Lucida Sans’,'DejaVu Sans Condensed’,sans-serif;
PALATINO:
font-family:Cambria,’Palatino Linotype’,'Book Antiqua’,'URW Palladio L’,serif;
SYMBOL: Greek & Math. Use where needed. Widely supported.
font-family:symbol,’Standard Symbols L’;
TAHOMA: Note: Has no italic face.
font-family:’Tahoma’,sans-serif;
TIMES NEW ROMAN:¹ Sets tighter than other serif fonts.
font-family:Cambria,’Times New Roman’,'Nimbus Roman No9 L’,'Freeserif’,Times,serif;
TREBUCHET:¹
font-family:’Trebuchet MS’,sans-serif;
VERDANA:¹ The best body font on the web—best at 16px high. Do not fall-back to Arial nor Helvetica: Verdana sets much wider.
font-family:Verdana,Geneva,’DejaVu Sans’,sans-serif;
WEBDINGS:¹ MS proprietary.
font-family:Webdings,fantasy;
WINGDINGS: MS proprietary. No Linux equiv.
font-family:Wingdings,fantasy;
ZAPF CHANCERY:
font-family:’Monotype Corsiva’,'Apple Chancery’,'ITC Zapf Chancery’,'URW Chancery L’,cursive;
ZAPF DINGBATS: Rarely used now—should not be used on web.
font-family:’Monotype Sorts’,dingbats,’ITC Zapf Dingbats’,fantasy;
1: These are available for Linux in the msttcorefonts package.
Here’s a custom list for a handy reference.
font-family:Arial,’DejaVu Sans’,'Liberation Sans’,Freesans,sans-serif;
font-family:’Arial Narrow’,'Nimbus Sans L’,sans-serif;
font-family:’Arial Black’,Gadget,sans-serif;
font-family:’Bookman Old Style’,Bookman,’URW Bookman L’,'Palatino Linotype’,serif;
font-family:’Century Gothic’,futura,’URW Gothic L’,Verdana,sans-serif;
font-family:’Comic Sans MS’,cursive;
font-family:Consolas,’Lucida Console’,'DejaVu Sans Mono’,monospace;
font-family:’Courier New’,Courier,’Nimbus Mono L’,monospace;
font-family:Constantina,Georgia,’Nimbus Roman No9 L’,serif;
font-family:Helvetica,Arial,’DejaVu Sans’,'Liberation Sans’,Freesans,sans-serif
font-family:Impact, Haettenschweiler, ‘Arial Narrow Bold’, sans-serif;
font-family:’Lucida Sans Unicode’,'Lucida Grande’,'Lucida Sans’,'DejaVu Sans Condensed’,sans-serif;
font-family:Cambria,’Palatino Linotype’,'Book Antiqua’,'URW Palladio L’,serif;
font-family:symbol,’Standard Symbols L’;
font-family:’Tahoma’,sans-serif;
font-family:Cambria,’Times New Roman’,'Nimbus Roman No9 L’,'Freeserif’,Times,serif;
font-family:’Trebuchet MS’,sans-serif;
font-family:Verdana,Geneva,’DejaVu Sans’,sans-serif;
font-family:Webdings,fantasy;
font-family:Wingdings,fantasy;
font-family:’Monotype Corsiva’,'Apple Chancery’,'ITC Zapf Chancery’,'URW Chancery L’,cursive;
font-family:’Monotype Sorts’,dingbats,’ITC Zapf Dingbats’,fantasy;
For comparison, here’s the old “web safe” list, which now isn’t:
Web-safe fonts (from fonttester.com):
font-family: Arial, Helvetica, sans-serif;
font-family: ‘Arial Black’, Gadget, sans-serif;
font-family: ‘Bookman Old Style’, serif;
font-family: ‘Comic Sans MS’, cursive;
font-family: ‘Courier New’, Courier, monospace;
font-family: Garamond, serif;
font-family: Georgia, serif;
font-family: Impact, Charcoal, sans-serif;
font-family: ‘Lucida Console’, Monaco, monospace;
font-family: ‘Lucida Sans Unicode’, ‘Lucida Grande’, sans-serif;
font-family: ‘MS Sans Serif’, Geneva, sans-serif; /* bitmap */
font-family: ‘MS Serif’, ‘New York’, serif; /* bitmap */
font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif;
font-family: Symbol, sans-serif;
font-family: Tahoma, Geneva, sans-serif;
font-family: ‘Times New Roman’, Times, serif;
font-family: ‘Trebuchet MS’, Helvetica, sans-serif;
font-family: Verdana, Geneva, sans-serif;
font-family: Webdings, sans-serif;
font-family: Wingdings, ‘Zapf Dingbats’, sans-serif;



