Module 05 of 11

Semantic Structure

Lessons

About This Module

A page built entirely from div elements can look identical to one built with meaningful tags, but it says nothing about what each region actually is. Semantic HTML is the habit of choosing the element that describes the content's role, such as a header, a navigation block or an article, so that browsers, search engines and assistive technology can understand the page without guessing.

This module starts with the core semantic tags: header, nav, main, section, article, aside and footer. It then looks at why a generic div isn't enough, and what semantic markup does for screen reader users. From there you'll see how to use section, article, aside and figure to lay out a page, including how article and section differ, and finish with landmarks, the regions that let assistive technology jump straight to the part of the page a visitor needs.

Watch the lessons in order, then continue on to Tables & Data.

Lessons

4 videos
01

Semantic Tags in HTML5

A complete tutorial on the most important semantic tags: header, footer, nav, article, section, aside and main, with examples of each.

02

HTML5 Semantic Tags: A div Is Just a div

Looks at what tags like nav, header, main, section, article and footer actually are, and why they matter, including for screen readers.

03

Semantic Elements and Page Layout

Covers the section, article, aside, figure and figcaption elements, then codes a layout with main, header, footer and nav, including when to use article versus section.

04

HTML Landmarks

Shows how to use semantic HTML landmarks to make websites more accessible and easier to navigate with screen readers.