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). We’ll then move on to a case study with a real website to see where you would use the new structures, followed by a look ...

Get Introducing HTML5, Second 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.