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.
H2s & H3s for Category Navigation
-
Hi all. I am wondering how best to format a category navigation menu. Currently I don't think we're using H2s correctly on our website.
Am I right to think that the top level category e.g. Games should be formatted as an H2 and the sub-categories underneath this should be formatted as H3s (to show a hierarchy)?
Is there a limit on how many H2s and H3s you should use? Obviously only one H1 per page.
Thanks in advance
Paul
-
There are mixed opinions on the use of them by Google. I happen to think it's zero for all of them except H1 and I'm not convinced even of them.. There is a case for H1 tags and keywords in them but I've ranked pages without strong H1 tags too.
It will depend on the design of your site but typically header tags are bold and slightly larger than the standard text on your page. You can check your websites files and change them around if you want to change the sizes. Think about reading a text book. It's nice to have the chapter titles one size, the sections another size and subsections another size. It's for your users. You want to make sure they can easily find what they want on your page. When we code sites, we generally indent too. That's not for Google, it's for us to find things faster. Same concept.
-
By the way, I didn't realise that using a header tag actually changed the look of the text? I thought it was simply used in the back end to signify hierarchy to Google? So if we use H2-H6 we would be changing the look of the menu items as well?
-
Thank you for the advice.
-
Your first thought is correct. You should use them to show hierarchy of content.
Directly from Google's Search Engine Optimization Starter Guide (page 20)
"Heading tags (not to be confused with the HTML tag or HTTP
headers) are used to present structure on the page to users. There are
six sizes of heading tags, beginning with, the most important, and
ending with
, the least important (1).
Since heading tags typically make text contained in them larger than
normal text on the page, this is a visual cue to users that this text
is important and could help them understand something about
the type of content underneath the heading text. Multiple heading
sizes used in order create a hierarchical structure for your content,
making it easier for users to navigate through your document."There isn't a limit to any of the header tags as far as I know. You are correct that most of us suggest that you only use one H1 tag. I generally don't put a limit on a page of the number of H2, etc tags I use. Remember, you are building your pages for your users and not for Google. Use your header tags to help people navigate information on your page.
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
-
Should posts show in multiple categories?
Hi all, For context, I'm trying to Silo my content more efficiently. I've just moved all content into their own SILO'd categories and removed them from duplicate categories. As such, posts now sit only in 1 category. My question here is: Should my posts be showing in both the parent category and its sub category or just the sub-category? I've currently got this only showing in the sub-categories it's relevant to. For example:
On-Page Optimization | | xtrapsp
Post name: Shimano Fishing Rod Review
Parent Category: Fishing Rods
Sub Category: Shimano And the post only shows inside the Shimano Category0 -
Do You Add City Name & Key Word For Every Page?
Hello, I'm new to SEO but feel I have a decent grasp on it. However, I had a question pertaining to key words and using my city name in it. For instance, if I am using the key word "herniated disc treatment" do I need to put in my city name behind it or does google recognize that I am already in my city area because of my geo tagging and having it listed on the footer of my site? Any help would be greatly appreciated. Thanks! -Scott
On-Page Optimization | | slgray0 -
Text that appears when hovering over navigation tabs
Hi, I have a Wordpress website and want to delete or edit the text that appears when I hover over my navigation tabs. In my case, the text is always the same as the page title, but I don't know where to edit it separately. When I change the title of a page that is in the navigation, the text that appears changes too. So the general setting is that this text is the same as the page title. Does somebody have an idea where to edit this? Thanks!
On-Page Optimization | | Mat_C0 -
Will it upset Google if I aggregate product page reviews up into a product category page?
We have reviews on our product pages and we are considering averaging those reviews out and putting them on specific category pages in order for the average product ratings to be displayed in search results. Each averaged category review would be only for the products within it's category, and all reviews are from users of the site, no 3rd party reviews. For example, averaging the reviews from all of our boxes products pages, and listing that average review on the boxes category page. My question is, will this be doing anything wrong in the eyes of Google, and if so how so? -Derick
On-Page Optimization | | Deluxe0 -
How do i block an entire category/directory with robots.txt?
Anyone has any idea how to block an entire product category, including all the products in that category using the robots.txt file? I'm using woocommerce in wordpress and i'd like to prevent bots from crawling every single one of products urls for now. The confusing part right now is that i have several different url structures linking to every single one of my products for example www.mystore.com/all-products, www.mystore.com/product-category, etc etc. I'm not really sure how i'd type it into the robots.txt file, or where to place the file. any help would be appreciated thanks
On-Page Optimization | | bricerhodes0 -
Keywords in Navigation
Hi, What is best practice for main navigation links with regards to use of keywords in them. For example is it best to using the phrase 'Pricing", "Website Pricing" or "Website Design Pricing" To me 'Pricing' is more appropriate because to the user they know they are on a website designer's site so what else would pricing be for right?! Furthermore you use less 'real estate' on the nav bar! There is on page text around the site which has links to "see our website design pricing" etc so I assume that is perhaps a more natural place to include that phrase? Look forward to your insights 🙂
On-Page Optimization | | NeilD0 -
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 -
Value in a bottom navigation bar?
How useful is it to have links in the bottom navigation bar? I'm considering to putting a mini site map in the bottom navigation bar but was told that these links carry virtually no SEO value and could actually hamper it as it would bring the total number of links on the page over 100.
On-Page Optimization | | walidalsaqqaf0