Mueller shares this guidance in a Reddit thread, where a user asks whether HTML code placement might cause SEO concerns.
The response is yes; the placement of HTML code could adversely impact your SEO efforts if it does not appear at the top of the page.
More particularly, it’s important to keep thesection of the HTML document at the top of the page. This area should include the information that Google needs to read your website effectively.
“The html headers () ought to be basically on top. I ‘d move any JS to below the HTML headers, and check with the rendering tool in search console that the JS doesn’t ruin the section.”
Regarding the main content, Mueller says its placement is lesser, though it’s essential for thesection to be tidy and efficient so Googlebot can properly understand it.
“For the content it does not matter as much, but given that the head stuff is for machine-readable info that’s validated to be in a specific part of the page, it truly needs to be clean on top.
Included Image: StockEU/Best SMM Panel