O'Reilly logo

Sams Teach Yourself CSS 24 in Hours by Kynn Bartlett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Fonts and Font Families

<feature><title>What You’ll Learn in This Hour:</title>
  • Which font properties specify bold, italic, and variant fonts

  • How you can set a number of font properties at once using a shorthand property

  • What the generic font families are and how to use them

  • Which fonts are most commonly installed on browsers

One of the most effective changes you can make to a web page when using CSS is to simply alter the browser’s default font. This can add a more professional look to your website immediately, as well as make it easier for users to read and find information.

</feature>

Specifying Font Properties

In Hour 2, “Getting Started with CSS,” you were introduced to two font properties: font-size and font-family. These enable you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required