The font-family 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 ("Arial Black"). To apply this in an HTML document, use: Text in Arial font which produces: Text in Arial font. Text in one of two fonts.
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - The font-family 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 ("Arial Black"). To apply this in an HTML document, use: Text in Arial font which produces: Text in Arial font. Text in one of two fonts.
|
dcterms:subject
| |
abstract
| - The font-family 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 ("Arial Black"). 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 h1 element for example, use: h1 { background-color:black; color:white; font-family:Arial; }
|