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.
A complete tutorial on the most important semantic tags: header, footer, nav, article, section, aside and main, with examples of each.
Looks at what tags like nav, header, main, section, article and footer actually are, and why they matter, including for screen readers.
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.
Shows how to use semantic HTML landmarks to make websites more accessible and easier to navigate with screen readers.