You are previewing Introducing HTML5.

Introducing HTML5

Cover of Introducing HTML5 by Remy Sharp... Published by New Riders
O'Reilly logo

Chapter 2 Text

Bruce Lawson

NOW THAT YOU’VE marked up the main page landmarks with HTML5 and seen how a document’s outline can be structured, this lesson looks deeper to show how you can further structure your main content.

To do this, you’ll mark up a typical blog with HTML5. We’ve chosen a blog because over 70 percent of web professionals have a blog (www.aneventapart.com/alasurvey2008), and everyone has seen one. It’s also a good archetype of modern websites with headers, footers, sidebars, multiple navigation areas, and a form, whether it’s a blog, a news site, or a brochure site (with products instead of news pieces).

Structuring Main Content Areas

Take a look at the main content area of a blog (Figure 2.1). There may be multiple articles, ...

The best content for your career. Discover unlimited learning on demand for around $1/day.