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.
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
h2
h2- h3 h3If anyone can provide some answers
Many thanks
-
The above answers are spot on. Have one H1 per page, and that H1 should be unique and reflect the main heading/title.
I just wanted to add this great article by Bill Slawski - he goes into really great depth about their best usage and importance: http://www.seobythesea.com/2012/01/heading-elements-and-the-folly-of-seo-expert-ranking-lists/
-
I always preach to use your heading tags like you would when writing an article in Microsoft Word, and use 1 H1 tag per page.
Main Subject Line that Includes Keyword or Mission
Words that explain the information you are trying to cover, and your "mission statement". Include higher amounts of keywords within first paragraph while not stuffing. Should also contain some sort of conversion statement or button
Secondary Information or Second Viewpoint
Words that include keywords and viewpoint.
Last Heading Includes Summary or Closing Arguments
Include high points of what has been covered
CMS sites often render out header tags like mad, causing you to have multiple H1 tags on a page. To check to see if yours is doing this, use SEO Browser. IMO, you can have more than one H2, as you may have multiple high level topics to cover on one page. Keep in mind, you can always use CSS to make
text render as a heading tag, so your page doesn't look goofy. For example:
If your h1 css looks like:
.h1 {
font-size: 28px;
line-height: 29px;
font-weight: bold;
}then set up a div class:
.largeptext {
font-size: 28px;
line-height: 29px;
font-weight: bold;
}and they will look the same, but not render an additional h1 tag per page. Use this for your sidebar and page styling areas that also render h tags.
-
Should only have 1 H1 per page... ideally containing the target keyword. If this were a blog post, your H1 would be your article title.
H2 would be used more for subheadings, i.e. if you split your article up into sections with subheadings, each should be an H2
H3-H6 are just sub-sub headings, etc.
Overall, I believe H1 (and perhaps to an even lesser extent H2) has any SEO value - even though it is very minute since it's easily gamed.
-
H1 should be the main heading and reflect the landing page. It should also be unique to the site (in most cases). H2's should be subheadings, H3's sub-sub headings and so on.
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
-
H2 tags always recommended? Or ok without?
Is it ok to have no h2 tags? There are no "keywords" relevant to the product in these example h2 tags. Also, is it ok to not have a PRODUCT DESCRIPTION header, or is it better with that header? It's for a "product page". Examples: <h1>Used Bow Front Desk With Mahogany Laminate</h1> <h2 style="display:inline;">QTY:</h2> 3 - <h2 style="display:inline;">Manufacturer:</h2> Hon <h2>Product Description:</h2> <p>This bow front desk is in excellent condition. It has a beautiful mahogany laminate.</p> OR (no h2 tags or product description header at all) <h1>Used Bow Front Desk With Mahogany Laminate</h1> <p>QTY: 3 - Manufacturer: Hon</p> <p>This bow front desk is in excellent condition. It has a beautiful mahogany laminate.</p> I prefer the last one as it's much simpler, but I'm curious if search engines would prefer the existence of h2 tags in the first version. Thanks,
On-Page Optimization | | NRSmart
Todd0 -
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 -
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 -
Using Escaped Fragments with SEO
Our e-commerce platform is in the process of changing to what we call app based stores (essentially running in a browser as single page web-app) With these new stores they are being built in HTML 5 and using escaped fragments.
On-Page Optimization | | marketing_zoovy.com
Currently merchants are usually running 2 stores until we launch to app site at 100%. My questions are really concerning the app stores which right now show on a subdomain but will essentially take over the primary domain. Here is an example:
app.tikimater.com and app.sportsworld.com Since I am not a developer, I'm really having a hard time understanding the escaped fragments. I'm using this but https://developers.google.com/webmasters/ajax-crawling/docs/getting-started I'm not sure what my actual urls should look like and what the canonical should be set to. Right now they have been removed but previously they had http:app.tikimaster.com#!v=1 Also, and how I should be setting up my meta information for Google so 1) pages are indexed timely 2) pages are indexed with the correct information. I am still setting the meta titles and descriptions but in some instances Google uses other info. With the new platform we are moving away from on page content (written paragraphs) but category pages would have related products embedded. Should I still be pushing to have some type of intro text, since it would solely be for SEO and not the shoppers experience. All product pages have content (product description etc) Thank you for any advice0 -
Using phrases like 'NO 1' or 'Best' int he title tag
Hi All, Quick question - is it illegal, against any rule etc to use phrases such as 'The No 1 rest of the title tag | Brand Name' on a site?
On-Page Optimization | | Webrevolve0 -
Rel canonical tag back to the same page the tag is on?
Very simple, Why would a website (and I have seen tons doing this) link the rel canonical tag back to the same page the tag is on? Example: somepage.htm has a canonical tag linking to somepage.htm I thought the idea of this tag was to tell google if 2 pages are similar, this page is the original, and it's this page which should be indexed and the page with the tag on should pass all PR to the original. Maybe im wrong and someone can help me out to understand this.
On-Page Optimization | | activitysuper0 -
Should I use bold for the first few sentences of a text?
I would like to know if anyone knew if the relevance of a page changes if I bold the first few sentences. Our journalist wants to bold the first few sentences in every article to make it easier to read, how does that affect SEO?
On-Page Optimization | | mtueckcr0