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
-
Logo Image H1 Tag SquareSpace
We have a site hosted on SquareSpace: Roomhance.com Going through the on-page optimizaton tool, we noticed that the H1 tags weren't fully optimized. If you click on view source on the page, it shows 2 H1 tags on the home page: id="logoImage"><a <span="" class="html-attribute-name">href</a><a <span="" class="html-attribute-name">="</a>/">src="//static1.squarespace.com/static/5bcca055ab1a62465f5b9ee7/t/5c18feb270a6adf771765799/1588613682225/?format=1500w" alt="Virtual Staging For Real Estate | Roomhance" /> style="text-align:center;white-space:pre-wrap;">Virtual Staging The 2nd one shown above it the H1 tag we want. I'm wondering if the H1 tag in the logo image is hurting us for SEO? Can't figure out how to modify it in SquareSpace.
On-Page Optimization | | vikasnwu0 -
Is using a H1 tag in a logo image bad for SEO?
We have brand logos on certain pages that have H1 tags in them - the H1 text being the brand's name, as this is what we'd want the title of the page to be. The logos are at the top of the page instead of a written title. But is this the best option for SEO? Do search engines value H1 tags in images as highly as a standard H1 tag?Would it be better for SEO to add an alt tag to the logo and add a separate H1 tag on the page that's also the name of the brand?
On-Page Optimization | | DVLighting0 -
Should we add our company's name in page title tag or not?
We have been adding our company (Townscript) name in all the page titles. For example, in an event page of Lucknow Conclave: www.townscript.com/lucknowconclave the page title is Lucknow Conclave | Alexis Society | Townscript I read somewhere that it's not necessary to put your company's name in the title tag. Is it right? Please help!
On-Page Optimization | | sanchitmalik0 -
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 -
Is .PW domain is good for SEO?
I want to register .PW domain which has recently got live to register. I am in doubt should it is good for SEO or not.
On-Page Optimization | | semmediapvtltd0 -
Can I use Same Keyword for Multi pages Title Tags?
Hello All, I am working on client website and currently they are targeting One Keywords for multi pages. As I have search with Allintitle: Search query and Google display around 37 pages of website which carry same keyword in "Title Tags". I have told to client to change the "Title Tags" but they want that keyword for all relevant pages. So I want to know is that harm in Search Engine Ranking? Note: They have not done the link building activities for multi pages with same Keyword, they are using only in "Title Tags" only
On-Page Optimization | | jemindesai0 -
Is an Overflow SEO friendly
Is an "overflow" (scrollbar) seo and Google friendly? I only ask because it hides part of the visible text.
On-Page Optimization | | BradBorst0 -
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