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
-
Missing H1 headings
Hi,
On-Page Optimization | | Colin12
I have an enquiry in relation to missing H1 headings. I am getting a number of these errors reported for collection pages where I am using a full width banner image at the top of the page with no visible description underneath. In these circumstances is it advisable to somehow include a H1 heading or can I ignore it? https://osullivanspharmacy.ie/collections/deep-heat0 -
Issues with Multiple H1 tags on homepage?
Hi folks, My homepage has 3 identical H1 tags due to the fact that I have had to create individual hero images (with headings) for desktop, tablet and mobile. I couldn't get my theme to display the layout in exactly the way I wanted on each device without doing a specific hero image and tag for each device type. Does this have a major impact on my SEO? Thanks,
On-Page Optimization | | Veevlimike
Mike.0 -
Do WooCommerce product tags effect SEO?
I'm just curious if I need these product tags and if they impact in any way at all SEO? - whether that be positively or negatively. on1iRin
On-Page Optimization | | xdunningx0 -
H1 tag- on home page - what is it best to include
is it best to have in the H1 tag 1. just our website address 2. combination of website address followed by short keywords about our website
On-Page Optimization | | CostumeD0 -
Is it OK to include name of your town to the title tag or H1 tag on a blog to enhance local search results
I recently attended a webinar by ETNA Interactive on local search SEO. The presenter recommended including the name of your town in the title of the blog to increase local search SEO. Is this OK? Ive always been concerned that it is such an obvious attempt to rank locally that Google would consider it "spammy" ? black hat, "sketchy" or otherwise manipulative. Have the rules changed? Is it OK to do? Brooke
On-Page Optimization | | wianno1680 -
Will Google penalize my website if I hide the H1 tag?
If I hide H1 tag (title on the homepage) with CSS, how Google handle with my site?
On-Page Optimization | | joeko0 -
Image titles and alt tags for multiple images
I'm hoping some of you may be able to help me understand the best way to optimize my image titles and alt tags for a specific situation. I'm working on an interior design website and they have hundreds of pictures. each of their projects has about 10 pictures. Is it best for me to us the key phrase in each title and tag? or is that to repetitive? here is what I mean: A project called "urban interior design" all images are of urban interior design, just different angles and features, so my initial idea is to just have each image title like this: Title: "urban interior design dinning area" Alt: "urban interior design dinning area view" Title: "urban interior design living room" Alt:"urban interior design living room couch view" Is this the best way or will it actually hurt my ranking with too much exact keyword use? Thanks for your help!
On-Page Optimization | | TBSEO0 -
Should I include a "|" for better page title SEO results?
I have seen many sites that include the "|" in page titles and was wondering if there is some SEO value in the practice. Example: Product Name | Company Name Instead of: Product Name by Company Name I have not seen any value in it myself other than a good way to avoid stop words. I wanted to make sure. Currently I have the "by" included in the page titles.
On-Page Optimization | | JedHenning0