2. Building a Solid Cross-Browser Template with HTML5 and JavaScript

Before starting any creative work with CSS3, you should build up a rock-solid markup template to structure your data in and provide mechanisms to allow your content and layout to work in older browsers to an acceptable degree. Recall the discussion of progressive enhancement in the previous chapter.

Your resulting toolset will be akin to a cockroach—the sort of creature that could survive an ice age or a nuclear war.

In the interests of adopting efficient modern markup and future proofing your work, HTML5 should be your markup language of choice. In this chapter you’ll explore the main features of HTML5 to ensure that you are up to speed. You’ll also learn about the different ...

Get Practical CSS3: Develop and Design 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.