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

  • Home
  • SEARCH
  • 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 6858773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:12:04+00:00 2026-05-27T02:12:04+00:00

Recently I went to w3schools New HTML5 Elements and discovered the section and article

  • 0

Recently I went to w3schools New HTML5 Elements and discovered the “section” and “article” tag. My question is when should you use a section, article or div tag and why does the text gets smaller when I use a section and article tag? Like so:

<section><h1>H1 tag in a section tag</h1></section>
<article><h1>H1 tag in an article tag</h1></article>
<h1>H1 tag in nothing</h1>

Copy and paste in to here. (Just putting it there for convenience)

  • 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-27T02:12:05+00:00Added an answer on May 27, 2026 at 2:12 am

    When to use section:

    The section element represents a generic document or application
    section…The section element is not a generic container element. When
    an element is needed for styling purposes or as a convenience for
    scripting, authors are encouraged to use the div element instead.

    Helpful rules of thumb from Html5doctor:

    • Don’t use it just as hook for styling or scripting; that’s a div
    • Don’t use it if article, aside or nav is more appropriate
    • Don’t use it unless there is naturally a heading at the start of the section
    • Use article instead for syndicated content

    When to use article:

    The article element represents a component of a page that consists of
    a self-contained composition in a document, page, application, or site
    and that is intended to be independently distributable or reusable,
    e.g. in syndication. This could be a forum post, a magazine or
    newspaper article, a blog entry, a user-submitted comment, an
    interactive widget or gadget, or any other independent item of content

    Use div when no other element can semantically describe it better, or you need a semantically meaningless hook for styling.

    The reason the h1s look different is because individual browsers render them differently. You can normalize things across browsers, and deal with default browser style sheets with a css reset.

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

Sidebar

Related Questions

This question was recently asked to me in an interview for which i went
I recently went live with our new home page, after heavily testing it in
I recently went through an article on Character Encoding. I've a concern on a
I am new to linux kernel. And recently, i've went through the sendfile syscall
I recently started learning Emacs . I went through the tutorial, read some introductory
As recently as several years ago, the developers actually made the builds that went
i've recently released an app to the App store, i went to have a
Recently we got a new server at the office purely for testing purposes. It
I recently went to backup a database and got the following error #1007 -
I recently went to the WROX forum. I was led there by GOOGLE. On

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.