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 7631153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:16:50+00:00 2026-05-31T06:16:50+00:00

Say I have a section of content on my page, i.e.: Heading 1 Some

  • 0

Say I have a section of content on my page, i.e.:

Heading 1
Some content

What would be the best way to represent this using HTML5?

<section>
    <header>
        <h1>Heading 1</h1>
    </header>
    <p>Some content</p>
</section>

Or would it be:

<section>
    <h1>Heading 1</h1>
    <p>Some content</p>
</section>

I guess I’m a bit confused whether the header tag is required here or if it’s superfluous. I’ve been reading the specifications and I haven’t seen anything address this.

  • 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-31T06:16:51+00:00Added an answer on May 31, 2026 at 6:16 am

    the <header> was made to replace the traditional <div id="header"> – the usual place for banners, logos and stuff above the website..

    in your case, your “header” is more of a title for the following content. a heading+paragraph pair is suitable for that.

    <section>
        <h1>Heading 1</h1>
        <p>Some content</p>
    </section>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have some <section id=something></section> with a ton of content in between.
Say I have a basic page like so: <custom:TableOfContents /> <h1>Some Heading</h1> <h2>Foo</h2> <p>Lorem
I have a master page which has a content section with the id cpMainContent.
Lets say I have a component using a set schema, and this component is
Say I have a table: <table id=#myTable> <tr> Section 1 <td> <table> <tr> Sub
Lets say have this immutable record type: public class Record { public Record(int x,
I have a header on my website that is fixed and is say 100px
Say you have a CSS 2.1 counter like ol { counter-reset: section; list-style-type: none;
I have a div with border-radius set to some value (let's say 10px), and
I have a main page index.html. This main page is the enterance to the

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.