O'Reilly logo

CSS & CSS3 by Robin Nixon

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

Images

Selecting Fonts and Typography

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixoncss/.

With CSS you can style fonts in a number of different ways using four main properties. These are the font-family property (previously known as the face attribute for the font HTML element), the font-style property, the font-size property, and the font-weight property.

You can also apply various types of decoration to fonts such as underlines, modify the spacing and alignment of text, the capitalization (or otherwise ...

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