Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3277074
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:19:50+00:00 2026-05-17T19:19:50+00:00

In xhtml 1.0 hn (h1 to h6) must represent document structure, like chapters in

  • 0

In xhtml 1.0 hn (h1 to h6) must represent document structure, like chapters in a book, and they all descend from the body.
In html5 there are section, article, header, hgroup, and it seems that hn tags descend from one of these tags, and then are not relative to the body element.
like

<html>
<body>
<h1>My personal homepage</h1>
<section id="resume">
<header>
<h1>My resumre</h1>
<p>A brief description of my skills</p>
</header>
<!-- bla bla bla -->
</section>
</body>

In xhtml 1.0 I would have done:

<html>
<body>
<h1>My personal homepage</h1>
<div id="resume">
<h2>My resumre</h2>
<p>A brief description of my skills</p>
<!-- bla bla bla -->
</div>
</body>

Does it make sense? Or should I follow the same rules as in xhtml 1.0 and disregard section, header, etc… and make hn tags relative to the body elements?

Advises and answers concerning semantics and SEO are the most valuable for me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:19:51+00:00Added an answer on May 17, 2026 at 7:19 pm

    The best SEO is to have good content, simple as that! Semantically what you have illustrated here is fine. What is new in HTML5 is that containers like <footer>, <header>, <section> and <article> have their own internal structure, as it were. So the outline of your first example would be:

    1. My personal homepage
      1.  My resume

    If you were to change the markup to this:

    <html>
      <body>
        <h1>My personal homepage</h1>
        <h2>Introduction</h2>
        <p id="intro">...</p>
        <h2>About me</h2>
        <section id="resume">
          <header>
            <h1>My resume</h1>
            <h2>Overview</h2>
          </header>
          <p>...</p>
        </section>
      </body>
    </html>
    

    The outline would be:

    1. My personal homepage
      1.  Introduction
      2.  About me
          1.  My resume
              1.  Overview

    See section 4.4.11 of the draft for an explanation. Geoffrey Sneddon has made the HTML 5 Outliner tool for checking the outline of a page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been seeing some conflicting information that an XHTML document must also declare itself
Essentially I want to embed some XHTML in an XML document that must validate
Must Support IE6 and must Validate vs XHTML Strict 1.0! This is tricky to
I understand that an id must be unique within an HTML/XHTML page. For a
I've got an XHTML 1.0 Transitional document. Most of the content is in English,
This must be something very simple for the JavaScript experts out there. In the
Is there a way to set BIRT to output a report as XHTML (1.0
I have report that I must convert to PDF using xsl-fo from xml data
I'm trying to write a SAX parser for an XHTML document that I download
In my database I have a field wich contains a html document. Now there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.