16 Checks · Code Examples · Free

HTML Document Structure Checklist

The direct answer

HTML document structure is the skeleton a crawler reads before it reads anything you wrote. This checklist covers the twelve checks that matter, from the document type and the language declaration through to the head order, the semantic elements, and the tags that carry meaning.

Semantic HTML tells search engines what each piece of content means. Proper structure improves rankings, accessibility, and AI visibility.

Why Semantic HTML Matters

Search engines do not see your page the way users do. They read the raw HTML and parse the document structure to understand content hierarchy, topic relationships, and meaning. Using semantic HTML elements gives search engines explicit signals about what each part of your page represents.

16 semantic elements
7 landmark roles
100% free to implement
Software Developer
Software Developer

HTML5 Semantic Elements

header, nav, main, footer ✓ Landmarks
article, section, aside ✓ Content
figure, figcaption, time ✓ Media
ul, ol, dl, blockquote, address ✓ Structured

The 16 Checks

Every check ranked by impact. Start at the top and work down.

# Check Category Impact Difficulty
1Use article element for contentStructureCriticalEasy
2Use nav element for navigationStructureCriticalEasy
3Use main element for primary contentStructureCriticalEasy
4Use header and footer elementsStructureHighEasy
5Use section with headingsStructureHighEasy
6Use aside for supplementary contentStructureHighEasy
7Use figure and figcaption for imagesMediaHighEasy
8Use time element with datetime attributeDatesMediumEasy
9Use ul and ol for listsStructureMediumEasy
10Use blockquote for citationsStructureMediumEasy
11Use strong and em for emphasisSemanticsMediumEasy
12Use p elements for paragraphsStructureMediumEasy
13Avoid empty or meaningless elementsCleanupLowEasy
14Use address for contact informationSemanticsLowEasy
15Use dl, dt, dd for definition listsStructureLowEasy
16Validate HTML with W3C validatorQualityLowEasy

Semantic HTML5 Page Structure: Code Examples

See exactly how to use semantic HTML elements to build a well-structured page.

Complete Semantic Page Layout

Every page should follow this skeleton. The header, nav, main, and footer elements create landmark regions that screen readers use for navigation and search engines use to understand page structure.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Page Title</title>
</head>
<body>

  <header>
    <nav aria-label="Main">
      <ul>
        <li><a href="/">Home</a></li>
        <li><a href="/about/">About</a></li>
        <li><a href="/contact/">Contact</a></li>
      </ul>
    </nav>
  </header>

  <main>
    <article>
      <h1>Page Title Here</h1>
      <section>
        <h2>First Section</h2>
        <p>Content goes here.</p>
      </section>
      <section>
        <h2>Second Section</h2>
        <p>More content.</p>
      </section>
    </article>
    <aside>
      <h2>Related Links</h2>
      <p>Sidebar content.</p>
    </aside>
  </main>

  <footer>
    <p>© 2026 Company Name</p>
  </footer>

</body>
</html>

Article vs Section vs Div

Use article for standalone content, section for thematic groupings, and div only for styling. Each element signals different meaning to search engines.

Correct Usage
<!-- Article: self-contained content -->
<article>
  <h2>How to Bake Sourdough</h2>
  <p>A complete guide...</p>
</article>

<!-- Section: thematic grouping -->
<section>
  <h2>Ingredients</h2>
  <ul>...</ul>
</section>

<!-- Div: layout only, no semantics -->
<div class="card-grid">
  <div class="card">...</div>
</div>
Incorrect Usage
<!-- WRONG: div for content that needs semantics -->
<div class="blog-post">
  <div class="post-title">Title</div>
  <div class="post-body">Content</div>
</div>

<!-- WRONG: section without a heading -->
<section>
  <p>Random content with no topic</p>
</section>

<!-- WRONG: article for layout wrapper -->
<article class="sidebar">
  <p>Ad placement</p>
</article>

Navigation with nav Element

The nav element tells search engines and screen readers that a group of links is navigation. Always use ul inside nav for link lists, and add aria-label when there are multiple nav elements on a page.

<header>
  <a href="/"><img src="logo.svg" alt="Company Name"></a>

  <nav aria-label="Main">
    <ul>
      <li><a href="/services/" aria-current="page">Services</a></li>
      <li><a href="/about/">About</a></li>
      <li><a href="/blog/">Blog</a></li>
      <li><a href="/contact/">Contact</a></li>
    </ul>
  </nav>
</header>

<!-- Breadcrumb navigation -->
<nav aria-label="Breadcrumb">
  <ol>
    <li><a href="/">Home</a></li>
    <li><a href="/services/">Services</a></li>
    <li><span aria-current="page">SEO Audit</span></li>
  </ol>
</nav>

<!-- Footer navigation -->
<footer>
  <nav aria-label="Footer">
    <ul>
      <li><a href="/privacy/">Privacy Policy</a></li>
      <li><a href="/terms/">Terms of Service</a></li>
    </ul>
  </nav>
</footer>

Figure and Figcaption for Images

Wrap images in figure when they are referenced from the main content. The figcaption provides additional context beyond the alt attribute, giving search engines more information about the visual content.

<figure>
  <img src="traffic-growth-chart.png"
       alt="Organic traffic grew 140% after implementing semantic HTML"
       width="800" height="450">
  <figcaption>
    Organic traffic growth from January to June 2026
    after restructuring the site with semantic HTML5 elements.
  </figcaption>
</figure>

<!-- Figure for code snippets -->
<figure>
  <pre><code>.container { max-width: 1200px; }</code></pre>
  <figcaption>Basic responsive container CSS</figcaption>
</figure>

<!-- Figure for diagrams -->
<figure>
  <img src="site-architecture.svg"
       alt="Hierarchical site structure with homepage at top">
  <figcaption>
    Figure 2: Recommended site architecture for sites
    with fewer than 500 pages.
  </figcaption>
</figure>

Time Element with datetime Attribute

The time element gives search engines a machine-readable date. Google uses this to understand content freshness, which matters for time-sensitive queries.

<!-- Full date -->
<p>Published on <time datetime="2026-08-01">August 1, 2026</time></p>

<!-- Date with time -->
<p>Last updated <time datetime="2026-08-10T14:30:00Z">
  August 10, 2026 at 2:30 PM UTC</time></p>

<!-- Relative date in article footer -->
<article>
  <h1>SEO Checklist for 2026</h1>
  <footer>
    <p>By <a href="/author/amir/">Amir Ali</a>
    &mdash; <time datetime="2026-08-01">Aug 1, 2026</time></p>
  </footer>
</article>

<!-- Duration (not widely supported but valid) -->
<p>Estimated reading time: <time datetime="PT8M">8 minutes</time></p>

Lists: ul, ol, dl, dt, dd

Lists signal structured content to search engines. Use ul for unordered items, ol for ranked or sequential steps, and dl/dt/dd for key-value pairs like glossaries, specs, or FAQs.

<!-- Unordered list: features, benefits -->
<ul>
  <li>Keyword research and mapping</li>
  <li>Technical SEO audit</li>
  <li>Content optimization</li>
</ul>

<!-- Ordered list: steps, rankings -->
<ol>
  <li>Run a site audit with Screaming Frog</li>
  <li>Fix all crawl errors</li>
  <li>Optimize title tags and meta descriptions</li>
  <li>Submit updated sitemap to Google Search Console</li>
</ol>

<!-- Definition list: glossary, specs -->
<dl>
  <dt>Canonical Tag</lt>
  <dd>An HTML element that tells search engines which URL
      is the preferred version of a page when duplicate
      or similar content exists at multiple URLs.</dd>

  <dt>Crawl Budget</dt>
  <dd>The number of pages a search engine bot will crawl
      on your site within a given timeframe.</dd>

  <dt>Structured Data</dt>
  <dd>A standardized format for providing information about
      a page and classifying its content using schema.org
      vocabulary.</dd>
</dl>

Blockquote with cite

Use blockquote for quoted content from another source. The cite attribute points to the source URL, and the cite element names the work or author. This signals to search engines that you are referencing authoritative sources.

<blockquote cite="https://developers.google.com/search/docs">
  <p>Google uses structured data to understand the content
  on the page and show that content in a richer appearance
  in search results.</p>
  <footer>
    &mdash; <cite>Google Search Central Documentation</cite>
  </footer>
</blockquote>

<!-- Short inline quote -->
<p>As John Mueller from Google stated,
<q>Semantic HTML helps us understand your content better</q>,
which is why structure matters for SEO.</p>

Table Structure with thead, tbody, th, scope

Proper table structure helps search engines parse tabular data and helps screen readers navigate rows and columns. Always use thead for header rows, tbody for data, and scope attributes on th elements.

<table>
  <caption>SEO Tool Comparison</caption>
  <thead>
    <tr>
      <th scope="col">Tool</th>
      <th scope="col">Free Plan</th>
      <th scope="col">Crawl Limit</th>
      <th scope="col">Best For</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">Screaming Frog</th>
      <td>Yes</td>
      <td>500 URLs</td>
      <td>Technical audits</td>
    </tr>
    <tr>
      <th scope="row">Ahrefs</th>
      <td>No</td>
      <td>Unlimited</td>
      <td>Backlink analysis</td>
    </tr>
    <tr>
      <th scope="row">Google Search Console</th>
      <td>Yes</td>
      <td>N/A</td>
      <td>Index monitoring</td>
    </tr>
  </tbody>
</table>

Strong vs Em vs B vs I

Strong and em carry semantic meaning, they tell search engines the text is important or emphasized. B and i are purely visual. Use the semantic versions when the content genuinely carries extra weight.

Semantic (Preferred)
<!-- Strong: important text -->
<p><strong>Warning:</strong> This action
cannot be undone.</p>

<!-- Em: stress emphasis -->
<p>You should <em>never</em> skip
heading levels.</p>

<!-- Both together -->
<p><strong>Critical:</strong> The page
<em>must</em> have exactly one H1.</p>
Visual Only (Use Sparingly)
<!-- B: visual bold, no meaning -->
<p>The product name is
<b>Blue Widget Pro</b>.</p>

<!-- I: alternate voice/mood -->
<p>The term <i>canonicalization</i>
refers to...</p>

<!-- I for ship names, terms -->
<p>We sailed on the
<i>HMS Enterprise</i>.</p>

Address Element for Contact Info

The address element represents contact information for the nearest article or body element. It is not for arbitrary addresses, only for contact details. Screen readers announce it as contact information.

<footer>
  <address>
    <p>
      <a href="mailto:[email protected]">[email protected]</a><br>
      <a href="tel:+1234567890">+1 (234) 567-890</a>
    </p>
    <p>
      Clienvora SEO Agency<br>
      123 Marketing Street<br>
      New York, NY 10001
    </p>
  </address>
</footer>

<!-- Address in an article footer -->
<article>
  <h1>How to Fix Crawl Errors</h1>
  <p>Article content here...</p>
  <footer>
    <p>Written by <a href="/author/amir/">Amir Ali</a></p>
    <address>
      Contact: <a href="mailto:[email protected]">[email protected]</a>
    </address>
  </footer>
</article>

HTML Structure Tools

Free and freemium tools to audit and validate your HTML document structure.

Free

WAVE Accessibility Tool

Browser extension that shows your page's semantic structure, landmark regions, heading hierarchy, and accessibility errors. Flags missing nav, main, and other semantic elements.

wave.webaim.org →
Free (Built-in)

Lighthouse

Built into Chrome DevTools under the Lighthouse tab. Audits accessibility, SEO, and best practices, including checks for proper heading hierarchy, landmark regions, and link text.

Built into Chrome DevTools
Free (Built-in)

Chrome DevTools

Right-click any element and select "Inspect" to see its semantic HTML tag. Use the Elements panel to verify your page uses article, section, nav, and other semantic elements instead of generic divs.

Built into Chrome, Firefox, Edge
Free

HTML Validator by W3C

The official W3C validator checks your HTML for syntax errors, unclosed tags, nesting issues, and invalid element usage. Validates that your semantic elements are used correctly and in proper context.

validator.w3.org →
Free / Paid

Screaming Frog SEO Spider

Crawls your entire site and reports which pages use semantic HTML elements. Exports data on H1 tags, meta descriptions, and page structure across all URLs. Free for up to 500 URLs.

screamingfrog.co.uk →
Need Better Rankings

Let's Optimize Pages That Rank and Convert

Got pages stuck on page two? Traffic that won't convert? Let's fix it with a personalized on-page SEO audit.

Get a Free SEO Audit

Frequently Asked Questions

What is HTML document structure in SEO?

The order and the nesting of the elements in the source. The crawler reads the source, so the structure tells it what the page is and what belongs to what. A page with the content in the right order and the right tags is readable without executing any script, and most of the ranking work happens on pages that are.

Does HTML structure affect SEO?

Indirectly and reliably. A crawler that can parse the structure understands the page faster, spends less budget on it, and can pick out the sections it needs for a featured snippet. A page that only works in a browser is slow to be understood and slow to be indexed, and the fix is structural rather than a ranking factor.

What is the correct order for the head section?

Charset first, then the viewport, then the title, then the meta description, then the canonical, then any stylesheet or script references, then the structured data. It is not a ranking factor and it does not matter to a browser, but a crawler that hits an encoding problem on a page with non-Latin characters can fail to read the whole thing.

Which semantic HTML elements should I use?

Header, nav, main, article, section, aside, and footer, plus the heading levels and the lists. They tell both a screen reader and a crawler what the parts of the page are. A div with a class called article tells a machine nothing, and the class names are for the people who write the CSS.

Does the DOCTYPE declaration matter for SEO?

Yes, and it is one line. Without it, browsers render in quirks mode, which changes the box model and the line handling, and a crawler has to guess how the page is laid out. The standards-mode doctype is one line and it removes a whole class of layout problems.

AA

Amir Ali

Founder of Clienvora, a content marketing agency that combines SEO and copywriting to drive rankings, traffic, and revenue. This checklist is maintained and updated regularly.