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 -
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 -
Should I Use WooCommerce Tags & Attributes?
I'm helping an online furniture store search engine optimize a WooCommerce store and I'm trying to make sure our taxonomies make sense. I'd love any help you guys can give, but I'm particularly interested in determining whether we should use tags. Product attributes make sense to me, but I'm concerned to use tags because of the propensity for creating duplicate content. Thanks in advance for any help you guys are willing to give.
On-Page Optimization | | cbizzle0 -
Using a dash or underscores in file names.
Is it better to use a dash or an underscore in file names to improve SEO? EX memory_flash.jpg or memory-flash.jpg Or does it make no difference?
On-Page Optimization | | Robotnik0 -
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 -
Is is ok to have multiple H2 or H3s?
Hi mozzers, I am wondering if the search engine gets bothered to read multiple heading 2s or heading 3s or heading4s (these would be unique content headings of course)? I am asking this because I need to follow a consistent content structure and many of titles would fall into one type of headings. Thanks Ty
On-Page Optimization | | Ideas-Money-Art7 -
Alt tag using photoshop
Simple question i think. Ive started adding alt tags to images using the slice tool in photoshop. This takes up a menu were the last part of is alt tag: This way to add alt tags does work right? I used SEO-browser afterwards and couldnt see the tag. There are maybe other better ways to see if your tags are in there ? Dan L.
On-Page Optimization | | danlae0