Nesting Semantic Elements

In the HTML5 standard, the <article> element defines a complete, self-contained block of related elements, while the <section> element is defined as a block of related elements.

Can we use these definitions to decide how to nest elements? No, we cannot!

On the Internet, you will find HTML pages with <section> elements containing <article> elements, and <article> elements containing <sections> elements. You will also find pages with <section> elements containing <section> elements, and <article> elements containing <article> elements.

Newspaper: The sports articles in the sports section, have a technical section in each article.

I guess this means that I can go ahead and nest anything I want...?

Back button Table of Contents Next button