C H A P T E R  9

Grouping Content

In this chapter, I describe the HTML elements that you can use to group related content together, which will add further structure and meaning to the content in your document. The elements in this chapter are largely flow elements. There is one exception: the a element, which has the distinction of its element category being determined by the content it contains. Table 9-1 provides the summary for this chapter.

Image

Image

Understanding the Need to Group Content

HTML requires browsers to collapse multiple whitespace characters ...

Get The Definitive Guide to HTML5 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.