What's Next?

In this chapter you learned what style rules are and how to apply them to control the overall look and appearance of your page. You should now at least be familiar with setting page and paragraph margins, as well as controlling foreground and background colors, text indents, and an element's line height.

In the next chapter, “Setting Your Page's Other Styles,” you learn how to set style properties for the other HTML elements that are included in the Kochanski Family Page example file, including headings, lists, address blocks, and 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.