Tsallaka zuwa abun ciki
Justice Tech School

Project: A Blog Layout

Use header, main with articles, aside and footer to create a blog. Semantic tags give meaning and good accessibility without extra classes.

Example
<header><h1>My Blog</h1></header>
<main>
  <article><h2>First post</h2><p>Hello world.</p></article>
  <article><h2>Second post</h2><p>More news.</p></article>
</main>
<footer>&copy; 2026</footer>

Exercise

Main content tag.

<>...</main>

Quiz Test

How many main elements per page?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.