Search⌘ K
AI Features

Exercises: Content and Structure

Explore how HTML markup elements define webpage content and structure. Understand the difference between inline and block elements and their impact on layout. Practice adjusting display behaviors to control how content appears on a webpage, building a solid foundation for HTML5 development.

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 ...