DECLARE SECTION AND ARTICLE LAYOUT ELEMENTS

The section and article layout elements allow you to group large amounts of display content and text content in your web page. As WHATWG conceived, one or more section blocks should appear in between the top-level header and footer element blocks, and one or more article blocks appear within a section dedicated to articles. That being said, you are free to apply sections and articles as you see fit, the point being that you understand what, within your own code, is a display section and what is a text article.

Multiple sections can be defined by assigning a CSS class identifier to the section. This will help you later when assigning style sheet declarations. Multiple articles can be defined with a similar ...

Get HTML5: Your visual blueprint™ for designing rich web pages and applications 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.