Chapter 10 Enhancing the Site with HTML5 and CSS3

Although you might be unaware of this—or may have forgotten—but throughout this book we’ve actually been creating HTML5 documents. But that’s only because we’ve used the HTML5 doctype. In all other respects, we’ve been using HTML4 (or earlier) elements, and have been writing the markup in an XHTML syntax. This includes lowercase tags and attributes, quoted attributes, and symmetrical opening and closing HTML tags.

We’ve been steering clear of using some real, honest-to-goodness, brand-spanking new HTML5 elements, but that’s going to change in this chapter. I’ve also avoided covering some of the newer CSS features that people are making more use of in the world of web design, namely CSS3. ...

Get Build Your Own Website The Right Way Using HTML & CSS, 3rd 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.