Перейти к основному содержимому
← 📄 HTML & the platform·Модуль A2 · Урок 12
ЗаданиеBuild a blog index. <header> with <h1>Anna's notes</h1> and a <nav aria-label='Primary'><ul><li>Home</li><li>About</li></ul></nav>. <main> with two <article> each containing <h2> title and <p> body. <aside> at body level with <h2>Recent</h2> and <ul>. <footer> with <nav aria-label='Footer'><ul><li>Privacy</li></ul></nav> and <p>© 2026</p>.

Завершающий этап модуля: перестройка страницы div-soup

200 XP14 min
Теория

Putting A2 together

You've seen each semantic element in isolation. Now combine them into a complete page with five landmarks and proper heading hierarchy.

The page we're rebuilding

A "blog index" with:

  • Site header (logo + primary nav)
  • Main content area with two blog post articles
  • A sidebar listing recent posts
  • A site footer with secondary nav + copyright

Currently it's built as a 6-div soup that screen readers parse as one giant unstructured wall. Your job: rebuild it with semantic tags.

Lighthouse + axe checklist

After your refactor, the page should pass:

  • Exactly one `<h1>`
  • No heading-level skips
  • Each landmark (<nav>) labeled or unique
  • Articles wrap independently syndicatable content
🔒

Зарегистрируйся чтобы кодить

Теория открыта всем. Интерактивный редактор, живой превью и проверка открываются с 7-дневным бесплатным trial — нужна карта, отмена в любое время.

Регистрация — бесплатный trial →

Первые 10 уроков в каждом треке — бесплатные. Карта не нужна.

← НазадСледующий урок →

Получай один совет по Python или веб-разработке — каждый день в почте

Коротко, без воды, без спама. Отписаться — в один клик.