Defining a Section

The article element has a less semantically specific cousin, section, which is another of the elements unique to HTML5.

In part, HTML5 defines section as follows:

The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content, typically with a heading Image.

Image The code is the same as before except I’ve wrapped a section around each of the two sections of the article that follows the introduction. I’ve simplified the code again for brevity.

...<body><header> ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with O’Reilly online learning.

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