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 ...

Get CSS & CSS3: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.