List of web-safe fonts
Web-safe fonts are fonts likely to be present on a wide range of computer systems, and used by Web content authors to increase the likelihood that content will be displayed in their chosen font. If a visitor to a Web site does not have the specified font, their browser will attempt to select a similar alternative, based on the author-specified fallback fonts and generic families or it will use font substitution defined in the visitor’s operating system.

There are about 15 fonts that are installed across almost all systems, termed web safe fonts because they are safe for use in your pages. The full list is:

Sans serif

Serif

Arial

Times New Roman

Helvetica

Times

Verdana

Georgia

Trebuchet

Palatino

Tahoma

Monospace

Geneva

Andale mono, Courier, Monaco

Cursive: Fonts that have a decorative, often handwritten-looking style: Comic Sans

Fantasy: Fonts that have a bold, often ornamental or quirky style, which are meant to be used for headings, not body copy: Impact

width: [ pixel or percentage value ] specifies the width of the elementheight: [ pixel value ] specifies the line height of the elementborder: [ pixel value ] in this case it should be set to zerocolor: [ hex value ] this describes the color of text within an elementbackground-color: [ hex value ] sets the background color for the current elementtext-align: details how the element will be horizontally aligned.

You’ll need to include both the color and background-color attributes in the style sheet as not all browsers will understand them. Browsers that understand both, will draw a border around the element so it is important to use the height attribute to control this.