The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Should HTML Heading Tags ALWAYS be in Hierarchical Order?

    Should HTML Heading Tags ALWAYS be in Hierarchical Order?

    Intermediate & Advanced SEO
    3 3 3.5k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Peter264
      Peter264 last edited by

      The question is in the title: Should HTML Heading Tags ALWAYS be in Hierarchical Order?

      For example, using them in order: H1, H2, H3... etc.

      Or is it OK to have H2 tags before the main H1 tag on a page? - for example sidebar content with H2 headings before the main content H1 tag?

      Your thoughts are greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • Devin_Anderson
        Devin_Anderson last edited by

        Hi Peter,

        Bots/crawlers etc can read your page no matter what order the headers appear in the HTML. The hierarchical order is there for convenience more than anything else.

        You should have no problem doing what you suggest in your example. Just try not to have more than one H1 on each page.

        Dev

        1 Reply Last reply Reply Quote 1
        • irvingw
          irvingw last edited by

          Good answer by Devin,

          If you are coding a site from beginning I would put them in order, but if the site already exists and it is a pain to change don't sweat it. If it's a quick global fix in CSS I would take the 30 minutes to do it personally.

          But like Devin said the most important thing is that you don't use a bunch of H1s on a page and the H1 should of course contain the main keyword phrase in it.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Multiple h1 tags on this html 5 page a issue?
            bridhard8
            bridhard8
            0
            3
            153

          • Canonical Tags increased after putting the appropriate tag?
            MattRoney
            MattRoney
            0
            4
            50

          • Heading Tags & Content Count
            BeckyKey
            BeckyKey
            0
            9
            391

          • On Page Content. has a H2 Tag but should I also use H3 tags for the sub headings within this body of content
            PeteC12
            PeteC12
            0
            6
            146

          • HTML > Tag
            Silkstream
            Silkstream
            0
            3
            225

          • Always include the targeted keyword in the alt tag?
            RobertFisher
            RobertFisher
            0
            5
            801

          • 301 redirect from .html to non .html?
            seointern
            seointern
            0
            7
            3.4k

          • Should I completly remove the meta tags keywords in the html page?
            lomastravel
            lomastravel
            0
            5
            1.1k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy