Chapter 1. Introducing HTML5 markup


This chapter covers
  • New semantic elements in HTML5
  • Updated HTML4 elements
  • New global attributes
  • The HTML5 content model
  • Getting new elements to work in old browsers


This chapter assumes you have some knowledge of previous versions of HTML. If you’re new to HTML, check out appendix B—it should give you enough information to understand this chapter.

We’ll start with some background on how and why the particular set of new elements in HTML5 was chosen. Then we’ll examine new elements for the overall structure of web pages before moving on to elements, both new and redefined, intended for particular bits ...

Get Hello! HTML5 & CSS3: A user-friendly reference guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.