2. Primary Structure and Sections

The elements in this chapter represent an HTML document’s high-level structural and outline components. Some are essential (after all, you can’t write an HTML document without the html element), while others are either used sparingly (the hr element) or have seen their usage decline in HTML5 (the div element).

This chapter is a counterpart to Chapter 11, which describes related elements unique to HTML5. If you’re writing X/HTML documents, then you don’t need to hop on over there. But, if you’re writing HTML5, then this chapter and Chapter 11 combine to detail all the primary structural and sectioning elements at your disposal.

address

Get The HTML Pocket Guide now with O’Reilly online learning.

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