Font-family

The   property is used in CSS and certain HTML tags. It is used to specify which type of font the text will display. Multiple font choices can be included in case some computers don't have certain fonts installed. To add an extra font choice, you must add a comma after each specific font name. Font names with more than one word, like Arial Black, must be put in between quotation marks.

To apply this in an HTML document, use:

Text in Arial font

which produces: Text in Arial font.

Text in one of two fonts.

This produces text in either Courier or Eurostile font: Text in one of two fonts.

To apply this in CSS, in the  element for example, use:

h1 { background-color:black; color:white; font-family:Arial; }