This is an exciting time to be a Web designer. The Web is now the way we consume almost all media, as cable TV, CDs, and DVDs are replaced by on-demand Web-delivered services like Hulu, Netflix, Pandora, and Spotify.

We also have a variety of devices on which to consume this media—desktop computers, laptops, tablets, smartphones, and massive 60-inch flat screen displays.

Supporting the delivery of content across all these different devices and media is an emerging technology standard—centered around browsers that use HTML5, CSS3, and JavaScript.

When I wrote the second edition of Stylin’ with CSS almost five years ago, a rigid and complex XML-based version of HTML, called XHTML, had become the standard. Because XHTML was unsuited ...

Get Stylin’ with CSS: A Designer’s Guide, Third Edition 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.