O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

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

Choosing a Font Family

One of the most important choices you’ll make for your Web site is the font for the body and headlines. As you’ll learn, not every system supports the same fonts by default, so you should define alternate fonts as fallbacks. But first let’s see how to define a single font family (Image and Image) and the ramifications of not providing the alternates Image.

Because I specified Palatino Linotype on the body element, it cascades down to other ...

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