Meaningful, accessible pages

Making pages that everybody and every machine can understand: semantic regions, accessibility practices, embedded media, and how pages appear in search and sharing.

About 6 hours of study

Learning objectives

Lessons

  1. 1

    Semantic HTML: elements that mean something

    Replace a page of anonymous divs with header, nav, main, section, article, aside and footer, and see what each one gives you for free.

  2. 2

    Accessibility: pages that work for everyone Intermediate

    Who uses the web differently, the rules that help them most, skip links, focus, and how ARIA fits in, along with when to leave it out.

  3. 3

    Audio, video and embedded pages Intermediate

    Add video and audio with fallbacks and captions, embed another page with iframe, and keep embeds from harming your visitors.

  4. 4

    The head: titles, search results and sharing Intermediate

    How titles, descriptions, canonical links, Open Graph tags and icons decide how your page appears in search results and when it is shared.

Module practice

Module quiz

1. A product review on a shop page would best be marked up as:
2. How should you test keyboard accessibility?
3. A page is announced as: 'link, link, link, link' for 30 items before the content. What helps most?
4. Which attribute keeps an iframe's page from running scripts?
5. Why do Open Graph tags matter?
6. Why should scripts in the head usually have defer?

‹ Forms and user inputModern HTML ›