What's Next?

In this chapter, you learned how to assign the different font characteristics to your page's elements, including setting the font size, family, weight, and other characteristics. You should now be comfortable with varying the font size of different elements, specifying specific and generic font families, as well as using the font shorthand property.

In the next chapter, you learn how to use styles to set text characteristics, such as aligning and indenting text, setting line heights, word and letter spacing, and other visual effects. You also learn how to create your own custom inline elements using the SPAN element in combination with styles, as well as how to control the appearance of hypertext links.

Get Cascading Style Sheets (CSS) by Example 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.