...

/

Exercises: Content and Structure

Exercises: Content and Structure

In this lesson, our content gains structure! Let's begin!

HTML defines a few dozen markup elements. Most of them define content, while other elements define logical containers. For example, the <h1> elements define the content and the markup that signs that the content within should be rendered as a first-level heading.

In contrast, the <section> element is a logical container. It tells the browser that the nested content defines a section of the document ...