For example:

You have you h1

<h1>Epic SEO Keywords</h1>

then right below

<h2 class="Massive text">Enjoy the future of you, visualise your dreams</h2>

Will Google render that page and treat the h2 as the true h1 for the page?

2 Answers 2


AFAIK, Google relies on H1, H2, etc only, and not on how these styles look like. Your H1 will be the main title for Google, not your H2.


Will Google render that page and treat the h2 as the true h1 for the page?

Both, Yes and No.

Google fetches the HTML of your page and then analyzes it in different ways. Google examines one or more pages to extract the content of the page separate from the headers, sidebars, footers, etc. Once Google has the content, it breaks it down to a DOM (document object model) where the content is organized in order of tags and precedent where importance is assigned to each content segment. From here, semantic analysis is performed to understand the content and the importance of topics, terms, links, etc.

After Google has indexed using this data, Google will "look" at the page by rendering it. Google started rendering pages to stop some common spamdexing methods where content was moved off-screen, hidden, etc. Rendering quickly changed to include styling cues and modify weighting signals of content elements.

So to answer your question, at first No because the DOM model places the h1 over the h2 and relates the h2 to h1 and any content in between; and then Yes because the rendering could potentially change the importance of the h2.

We all style headers. On one site, I styled h6 in one section to be larger than the h1 for the page. Originally, the h6 was the h1, however, this did not make sense from a styling and usability sense. I downgraded the h1 to h6 and styled it to be larger than the new h1 header tag. I made the change because I wanted the h1 to be picked up as being important, however, I wanted users to focus on the h6 for usability. While I recommend that people not do this as a rule, sometimes it makes sense. In my case, the h1 was important for on-page SEO and the h6 was important for usability. There are times to break the rules a bit. But please know that Google still saw my h1 as important and the change actually helped search performance. In other words, the h1 remained more important than the h6 even as I styled the h6 to be more significant to the user. I specifically chose h6 to signal that the styled header should not be taken as too important.

  • Thanks for this, do you have any sources or evidence? Commented Sep 18, 2019 at 14:40
  • @MaxHolloway Only history and experience. At one point I had access to Googles index design in the form of a database schema and their business rules including algorithms and processes. I have followed Google since their inception. I was a DEC internals engineer and worked on Altavista so I was particularly interested in search and search technologies. I have been reading Google's documents, books written by engineers, and so on. I was also one of the original registered ISPs. I have been in the web game since new and created niche search engines myself including writing one from scratch.
    – closetnoc
    Commented Sep 18, 2019 at 14:55
  • @MaxHolloway So as to pointing to specific sources, it has been too many years to remember the details of what I read, knew, observed to that level of detail. I just know what I know. I can say my observations from creating and ranking websites does form some of my knowledge. I should also mention that my h6 is also seen as important in search, however, what was most important to me was the h1 and why I made the change. Users see the h6 first. I always recommend making sure your h1 is used following tradition. The other headers you can adjust. Cheers!!
    – closetnoc
    Commented Sep 18, 2019 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.