Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Sequence of heading tags (H1, H2, H3, etc) important?
-
Meaning heading tags (H1, H2, H3, etc) are a critical part of good on-page optimisation. Fair enough. It helps humans and bots make sense of a page's content.
3 questions regarding implementation of heading tags:
-
Should heading tags appear in sequence in the HTML code. I.e. H1 first, then H2 lower down, etc.?
-
Can the page contain more than one H1 tag?
-
Can the page contain multiple H2, H3, H4 tags?
-
-
Thanks!
I have some pages that contein h1, h2, h3 and h4. And I have other pages that dont't have h3 but they do have H2 and H4. Is it a seo mistake?
Thanks!
-
Yeah, should be fine.
-
I just listed about 6 H2 tags. That is ok right?
-
@vtialscom and @Barry Smith,
Thanks for your input. I agree with you both. Your resources are spot on Barry.
Cheers
-
-
Doesn't matter too much.
-
Yes.
Things to maybe think about though is HTML 5 and the
<header>tag for sections. Read - http://html5doctor.com/the-header-element/ - and - http://www.alistapart.com/articles/previewofhtml5
At the moment there will be some accessibility issues with screen readers when using multiple
s but that should get better.
Headers aren't a big ranking factor - http://www.seomoz.org/ugc/the-five-least-important-ranking-factors - http://www.seomoz.org/article/search-ranking-factors#metrics-6
A vast majority of the web isn't coded correctly and the above points to it not really mattering, however, it's worth thinking about your structure and still only really using one
if you can.
</header>
-
-
In my experience, the sequence of the H tags didn't matter at all, but if the H1 tag doesn't deserve to be on top of the other heading tags, I would suspect something may be wrong with your page layout. I don't recommend more than one H1 tag.per page. The H2, H3 and H4 tags are meant for sub headers. If you don't use the header tags as intended, your pages may be flagged as spam, so use cautiously. I have seen so many webmasters unwittingly abusing these tags, like by putting their brand name in a H1 tag on every single page.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is page speed important to improve SEO ranking?
I saw on a SEO Agency's site (https://burstdgtl.com/search-engine-optimization/) that page speed apparently affects Google ranking. Is this true? And if it is, how do I improve it, do I need an agency?
On-Page Optimization | | jasparcj0 -
What heading tag to use on sidebars and footers
Hello, I have some awareness of how to use H1, H2 and H3.
On-Page Optimization | | kowston
H1 only once per page as the main page heading.
H2's should be subheadings, H3's are sub-sub headings of the and so on.
This structure gives hierarchy and opportunities to use additional keywords in an order of priority. I can clearly understand how this would work in an article but what about other content on the page such as global/frequently repeated elements like sidebars and footers? I see sites - and in particular, I have examed SEO focused sites - that use H3, H4 and H5 in these instances seemingly giving themselves scope to use at least H2 tags as part of the page content and break out of the structure hierarchy when dealing with sidebars and footers. I suppose this could signal theses headings are sections of the page that are less relevant than the main article content but that is just an assumption. I don't know what is correct.0 -
How can i define a ALT Tag for Youtube videos?
Hello, When i scan with SEMrush it shows all such pages do not have ALT Tags http://img.youtube.com/vi/iJ4pmmRSZxc/hqdefault.jpg What should the ALT be for them and how can i control as we have 1000's of Youtube videos displayed on various parts of our website Thank you
On-Page Optimization | | ktrinkqao120 -
Is there any benefit to removing brand name from the title tag?
I just signed up for Moz recently, and have noticed that in my crawl errors, I have hundreds of issues with my title tag being too long. My business is selling prints for landscape/travel/nature photography, and I've built these pages dynamically to where the title tag for pages selling individual photos has the title of the photo for sale followed by a hyphen and then the brand name. The same goes for gallery pages "Gallery Name | Brand Name". Would it be worth it to shorten the title tags by removing the brand name from these pages? Or will that actually harm more than help? Thanks in advance!
On-Page Optimization | | shannmg10 -
How to peroperly use h1 , h2 and h3 tag on your website.
Is it better to have different h1 for each page or have the same h1 across the site. I am using h1 fin wordpress for beside that I have 4 more h1 in the same page how to properly use h2 and h3 can we have muliple h2 on a page. what would be an ideal hx tag order be ? h1
On-Page Optimization | | conversiontactics
h2
h2- h3 h3 If anyone can provide some answers Many thanks0 -
Define H2,H3 and H4 for e-commerce sites
Hi Everybody, I was wondering what is the best way to define H2,H3 and H4 for e-commerce sites. For example, I randomly chose an e-commerce site http://www.designerleds.com/products/high-power/ What would you suggest for H2,H3 and H4? Thank you very much for your help!
On-Page Optimization | | pbess0 -
Duplicate Title and Meta Description Tags in Shopify with this App
Hello. I'm finding that by adding the Ultra SEO app in Shopify, I now have duplicates of the Title tags and Meta Descriptions. It looks like it's pulling title tags from the Shop info, the product or page titles as well as the Title tag I add in Ultra SEO. The website is 1bigcookie.com. The duplicate meta descriptions are from the text I entered in the meta description field in Ultra SEO. I entered the canonical url code shopify specifies to help with duplicate content, but what about duplicate title and meta description tags on the same page?
On-Page Optimization | | mymochamoney0 -
Do we need to use the canonical tag on non-indexed pages?
Hi there I have been working in / learning SEO for just over a year, coming from a non dev background, so there are still plenty of the finer points on-page points I am working on. Slowly building up confidence and knowledge with the great SEOMoz as a reference! We are working on this site http://www.preciseuk.co.uk (we are still tweaking the tags and content by the way- not finished yet!) Because a lot of the information is within accordians, a page is generated for each tab of the accordian expanded, for example: http://www.preciseuk.co.uk/facilities-management.php is the main page but then you also have: http://www.preciseuk.co.uk/facilities-management.php?tab=0 http://www.preciseuk.co.uk/facilities-management.php?tab=1 http://www.preciseuk.co.uk/facilities-management.php?tab=2 http://www.preciseuk.co.uk/facilities-management.php?tab=3 http://www.preciseuk.co.uk/facilities-management.php?tab=4 http://www.preciseuk.co.uk/facilities-management.php?tab=5 All of which are in the same file. According to the crawl test, these pages are not indexed. Because it is all in one file, should we add the canonical tag to it, so that this is replicated in all the tab pages that are generated? eg. Thanks in advance for your help! Liz OneResult
On-Page Optimization | | oneresult
liz@oneresult.co.uk2