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.
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
-
Home page and category page target same keyword
Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian
On-Page Optimization | | tprg0 -
Canonical URL, cornerstone page and categories
If I want to have a cornerstone "page", can I substitute an actual page with a category archive of posts "page" (that contains many posts containing the target key phrase)? This way, if I make blog posts about a certain topic/ key phrase (example "beach weddings") and add a canonical URL of the category archive page to the individual posts, am I right then to assume google will see the archive page as the cornerstone page (and thereby won't see the individual posts with the same key phrase as competing)?
On-Page Optimization | | stephanwb0 -
How often should I update category and product content to keep it fresh?
I want to keep our site up to date and fresh with content. How often should I update categories and products pages with content? What angel should I take with categories (new products/services etc.) Thanks Craig
On-Page Optimization | | Towelsrus0 -
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 -
Ecommerce On-Site SEO: Keywords in Category Descriptions
Hello, I'm doing on-site SEO for a client's ecommerce site. Are 160 words enough for a category description? I'm using the keywords once at the top of the description, and once at the bottom of the description, with the ones at the bottom reworded so that they are the keywords with a different word order. I used to put the keywords in 3 times but it just feels like stuffing. Is twice, worded differently the second time, enough for a category description? Thanks.
On-Page Optimization | | BobGW0 -
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 -
Title tag for category page
I'd like to know your views on the best approach for title tags for category pages for ecommerce sites. 3 examples A) Category name | Free delivery on $50 purchase | Brand name B) Discover best "category name" on brand name C) Category Name | 1st Keyword, 2nd keyword | Brand name Thanks!
On-Page Optimization | | walidalsaqqaf0 -
Category Pages with Sub-Categories
The image will explain it all... Each category page starts on the subject of the first sub-category page. This happens twice (well actually 3 times since this section of the site is called showroom and it starts on the tab mowers). Is this a terrible approach? If so, how could a site like this be better navigation-ally organized. cat-subcat.png
On-Page Optimization | | drewschmaltz0