top of page
  • Writer's pictureBrent Payne

<h1> only in the rendered HTML

The URL in question contains an <h1> tag that is missing from the page's initial HTML response but appears after the execution of JavaScript.


Why is this important?

Webpage rendering demands substantial resources and takes considerably longer than simply downloading the source HTML.


Google employs a phased crawling approach: first, they review the HTML response, then they render the page for a second evaluation of the rendered HTML, updating their index accordingly.


Because URLs are first indexed based on the HTML response, there may be a significant delay before the second evaluation occurs, during which the rendered HTML is considered.


Ensuring the HTML response comprises all the vital elements, including an <h1> tag, is crucial for proper indexing from the start.


Without an <h1> in the HTML response, Google might index the page with an incomplete understanding of its relevance, or defer indexing until rendering occurs later.


These scenarios are not ideal, particularly when page content and <h1> tags frequently change, potentially causing out-of-date versions to remain indexed.


What does the Optimization check?

This Optimization triggers for any internal URL that showcases an <h1> tag in the rendered HTML but not in the initial HTML response.


Examples that trigger this Optimization

This Optimization will activate if a URL has an <h1> element in the rendered HTML absent from the response HTML.


Consider this scenario with a response HTML:

<!doctype html><html lang="en"><head>  ...</head><body>  ...</body></html>


And the corresponding rendered HTML:

<!doctype html><html lang="en"><head>  ...</head><body>  <h1>The page is excellent</h1>  ...</body></html>


How do you resolve this issue?

Depending on JavaScript to generate critical on-page elements may lead to incorrect indexing or delays. Google might not always effectively render or execute JavaScript.


Having <h1> tags available in the initial HTML response is vital for SEO and should be visible to Google upon first inspection.


To remedy this situation, collaborate with the development team to include the <h1> tag in the HTML response, ensuring it remains unaffected by JavaScript during rendering.


Further Reading

0 views0 comments

Recent Posts

See All

CSS file size too large discovered in SEO audit

In our SEO audits at Loud Interactive, we often come across a common yet significant issue that can heavily impact your website's loading speed and overall performance: CSS file size too large. Let's

CSS file size too large discovered in SEO audit

When conducting an SEO audit on your site, one issue that might come up is that your CSS file size is too large. But why does this matter, and what can you do about it? Let's dive in. What's the Issue

H1 tag missing or empty" Discovered in an SEO Audit

At Loud Interactive, we've encountered a common issue during our SEO audits that can significantly impact a website's performance on search engines: the "H1 tag missing or empty" warning. This problem

bottom of page