• in
InterCourses
CoursesBlogs
0
← Introduction to HTML
○What Is HTML? See Tags in Action○Exercise: Build the Meridian Signal○Complete HTML5 Page Structure: See It in Action○Exercise: Build a Complete HTML5 Page✦Module Quiz
○Heading Hierarchy Demo: H1 and H2○Exercise: Extend the Signal Brief○Paragraphs and Inline Tags Demo○Exercise: Write Meridian's Survey Notes○List Types Demo: Steps, Items, and Terms○Exercise: Build a Crew member Loadout○Challenge: Transmit a Rescue Signal✦Module Quiz
○Hyperlinks○Images○Applying Styles to HTML✦Module Quiz
○Div and Span○HTML Tables○Classes and IDs○Review: Structured Profile✦Module Quiz
○Project 1 - Visiting Card Structure○Project 1 - Visiting Card Actions✦Module Quiz
○The Head Element and Page Title○Meta Tags○HTML Entities✦Module Quiz
○Form Basics Demo: Join the Meridian Relay○Exercise: Build a Night-Shift Check-In○Input Types Demo: Build a Mission Profile○Exercise: Record Beacon Maintenance○Choice Controls Demo: Select Training Modes○Exercise: Plan a Supply Pickup○Response Controls Demo: Send a Mission Reply○Exercise: Build a Rescue Dispatch Report○Challenge: Send an Emergency Beacon✦Module Quiz
○Project 2 - Contact Us Form Structure○Project 2 - Contact Us Form Actions✦Module Quiz
○Embedding Video○Embedding Audio○Iframes✦Module Quiz
●Semantic HTML Tags○Details, Figure, and Figcaption✦Module Quiz
○Project 3 - Resume Semantic Structure○Project 3 - Resume Links and Actions✦Module Quiz

Semantic HTML Tags

Mission

The Riverstone Community Garden is publishing a short harvest update. This is a new page, separate from the hall’s media examples. Build a page whose regions are clear enough for a visitor—or a screen-reader user—to jump straight to the update, its related links, or its contact details.

What you'll build

A page with semantic landmarks: a site header and navigation, one self-contained article update, a related-links sidebar, and a footer — all organized inside a single main content region.

Target: a page with a site header and navigation, one self-contained update, a related-links sidebar, and a footer. When you preview it, the update sits inside the page's single primary-content region.

Give each part a job

Semantic HTML names the role of a region instead of using a generic <div> everywhere. Those names create landmarks that assistive technology can announce and navigate. They also make the document easier for a teammate and a search engine to understand.

For this garden update, use:

ElementJob on this page
<header>Introduces the garden site
<nav>Holds site-navigation links
<main>Holds this page's primary content; use one per page
<article>Contains an update that could stand on its own
<aside>Holds related, secondary links
<footer>Holds closing contact or copyright information

<section> groups related content that belongs to the current page. An <article> is stronger: its content should still make sense if shared or listed by itself.

Build the update's landmarks

Here is the same landmark pattern on a library notice. Notice that <nav> belongs inside the <header>, while the announcement and its sidebar belong inside <main>. Transfer that structure to the garden update.

html
<header>
    <h1>Willow Lane Library</h1>
    <nav>
        <a href="/catalog">Catalog</a>
        <a href="/hours">Hours</a>
    </nav>
</header>

<main>
    <article>
        <h2>Saturday Story Hour</h2>
        <p>Story hour starts at ten in the reading room.</p>
        <time datetime="2026-08-15">August 15, 2026</time>
    </article>

    <aside>
        <h3>Library links</h3>
        <a href="/membership">Become a member</a>
    </aside>
</main>

<footer>
    <p>Willow Lane Library</p>
</footer>

<time> gives the browser a machine-readable date through datetime while visitors read the friendly date. Use it for a specific date or time, not for vague phrases such as “last week.”

Checkpoint

Preview the page. You should be able to point to a header, one navigation area, one main content area, the harvest update, related links, and a footer. If the update is outside <main>, check the opening and closing tags first.

Your Task

  1. Add one <header> element to introduce the garden page.
  2. Inside the header, add a <nav> with at least two links.
  3. Add one <main> element for the primary content.
  4. Inside <main>, add an <article> for a garden update.
  5. Add a <time> element with a datetime attribute inside the article.
  6. Add one <aside> with related links.
  7. Add one <footer> element with closing contact or copyright information.

Payoff

With those landmarks in place, the garden update is no longer just a stack of boxes: its structure explains where visitors are and where they can go next.

Hint 1
1 / 4
HINT 1

Use <main> for the primary content area — there should only be one per page.

HINT 2
<article> is for self-contained content (a blog post, a news article) that could stand alone.
HINT 3
<section> groups related content under a theme. It usually has a heading.
HINT 4
<nav>, <header>, and <footer> are landmark elements that help screen reader users navigate.
Loading editor…
READY
intercourses
html