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.
Choosing a title tag in seo (H1 or H2 or H3)
-
I look many times on google that what is the best tag to set in title for seo, H1 or H2 or H3 In many forums and sites they are asking that you need to put only H2 tag in title and someone ask to put H1 in title and i am confused,
Some body tell me the correct tag for seo in google, or any other search engine.
-
Ben Morei stated the difference between HTML4 and HTML5 in using heading tags already. His answer is therefor completely correct.
What i would like to add to his answer is that you should look at H1, H2, H3, H4, H5 and H6 tags as if the webpage is a book. In a book the chapter-title is a H1 tag. All the subchapters have an H2 tag. If these subchapters have another sub-area then this would be marked up with an H3 tag and so on.
Having a clear hierarchy in your heading tags will make it more user friendly. Search engines might also understand better which parts of the content are connected to each other and which are separate because of this.
Hope i answered your question and if anything is still unclear feel free to ask more details.
We have three answers to your question here now and the question is still on marked as 'unanswered'.If your question is answered could you please mark the answer which was most helpful as the correct answer so this question is no longer on the bounty page for no reason?
-
The answer to this questions kind of depends on the technology you are using.
(X)HTML 4 and below will only allow you to use one h1 per page - so it's got to be the most important thing on that page. Think of it like the headline on the front of a newspaper. Your H2 elements are then the sub-heads, h3's sub-subheads and so on; like the newspaper you can have as many of those breaking up the text as you want. This is why you may have heard about people using an h2 element for their main headline, especially on home pages; the most "important" thing there - to the client at least - is the logo, which is therefore often wrapped in an h1.
HTML5, on the other hand, lets you have multiple h1 elements (one per section). So you can wrap your logo - up in the header - in one, you can have one for your page's main headline - it's in a
or- and your sidebar can have one - it's in its own <sidebar>after all. You can even have one in your footer if the whim takes you. Search engines establish which h1 is more important through a hierarchy (article is more important than sidebar is more important than header or footer).
Hope that helps!</sidebar>
-
Hi,
H1 should be the most important title on your page. What you most times see is that you're using H2 and H3 for listings or other headings on the rest of the page.
Martijn.
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
-
Using a hyphen in title tags and the impact of spaces
Hi I am trying to arrive at a best practice template for a title tag for my organization so does the following template still holds Primary Keyword - Secondary Keyword | Brand Name will anything be impacted if I eliminate the spaces between the hyphen, will search bots be still able to treat the first one as a priority and the second as the secondary? Primary Keyword-Secondary Keyword | Brand Name thank you
On-Page Optimization | | lina_digital0 -
H1 tag positioning impact
Hello, I am currently working with a dev team to develop a new site. We have designed the title tags to sit below a banner image on each page but the technical team are insisting the h1 title tags must come above the banner for maximum SEO impact. I am sceptical about this, can anybody please shed some light and/or share any up to date resource on this? I have attached a side by side wireframe to illustrate the pages with the h1 tags in both positions. Thank you! HnWcLTx
On-Page Optimization | | Popidev0 -
Thoughts on adding "near me" to title tag for local SEO?
I want to lean out my title tags and will most likely be doing an A/B test. They currently have the "Near Me" modifier in there, which I believe Google can distinguish local SEO without it. Thoughts?
On-Page Optimization | | imjonny1230 -
How does Google treat Dynamic Titles?
Let's say my website can be accessed in only 3 states Colorado, Arizona and Ohio. I want to display different information to each visitor based on where they are located. For this I would also like the title to change based on their location. Not quite sure how Google we treat the title and rank the site.... Any resources you can provide would be helpful. Thanks
On-Page Optimization | | Firestarter-SEO0 -
SEO can id and class be used in H1?
Can ID and class be used in my H1 tag. I realize best case would be to change it, but it's going to require a change order from the ecommerce company to fix their sloppy code. Will this hurt seo? Example:
On-Page Optimization | | K-WINTER0 -
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 -
Fewer keywords in title tag?
Hello, I have a title tag that includes three keywords and has a total of 59 characters. The third keyword is not very important. If I eliminated the third keyword, leaving the first two (for a total of 48 characters), would the ranking value of the first two keywords increase? Does including the third keyword dilute the value of the first two? Thank you!
On-Page Optimization | | nyc-seo0 -
What does the "base href" meta tag do? For SEO and webdesign?
I have encounter the "base href" on one of my sites. The tag is on every page and always points to the home URL.
On-Page Optimization | | jmansd0