C H A P T E R  6

CSS3

In this chapter, we'll diverge for the most part from HTML into a totally different language and specification. It's time for Cascading Style Sheets (CSS). CSS may not be HTML, but HTML is not much to look at without CSS, so mastery of one necessitates some degree of mastery of the other.

Since this book is about HTML, we'll spend most of our time in this chapter examining the relationship between HTML and CSS and how the two interact, but we'll explore purely CSS topics as well. The CSS specification is currently in its third iteration, so we'll run through the necessary core CSS concepts you should know and then dive into the details of what is new. There's a bit of technical jargon to cover, but in doing so, we'll set ...

Get HTML5 Mastery: Semantics, Standards, and Styling 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.