Mueller shares this recommendations in a Reddit thread, where a user asks whether HTML code positioning could trigger SEO concerns.
The response is yes; the placement of HTML code could negatively affect your SEO efforts if it doesn’t appear at the top of the page.
More specifically, it is necessary to keep thearea of the HTML document at the top of the page. This area needs to contain the info that Google needs to read your site correctly.
“The html headers () should 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 mess up the section.”
Regarding the main material, Mueller states its placement is lesser, though it’s crucial for thearea to be tidy and well-organized so Googlebot can properly understand it.
“For the content it doesn’t matter as much, but since the head things is for machine-readable details that’s validated to be in a particular part of the page, it truly requires to be clean on top.
Included Image: StockEU/SMM Panel