Font-Family
The font-family property is used to declare the type of font that the text will be displayed as on your page.

Example
CSS
.navlink { font-family:Arial Black,Arial; }

XHTML
<ul>
<li><a class="navlink" href="index.html">Home<a></li>
</ul<
Makes the link "Home" display as the font Arial Black. If this font is not available Arial is used. Setting multiple fonts is important since the machine you webpage is being accessed from may not be able to display your first font choice.

Note: Separate each value with a comma, and always offer a generic-family name as the last alternative.

Inherited: Yes


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts