Mueller shares this guidance in a Reddit thread, where a user asks whether HTML code positioning could cause SEO problems.
The answer is yes; the placement of HTML code could adversely impact your SEO efforts if it doesn’t appear at the top of the page.
More specifically, it’s important to keep thesection of the HTML file at the top of the page. This section must contain the info that Google requires to read your website correctly.
“The html headers () need to be basically on top. I ‘d move any JS to below the HTML headers, and consult the rendering tool in search console that the JS doesn’t screw up the area.”
Regarding the primary content, Mueller states its positioning is less important, though it’s vital for thearea to be tidy and well-organized so Googlebot can properly understand it.
“For the material it doesn’t matter as much, however since the head stuff is for machine-readable info that’s verified to be in a particular part of the page, it truly requires to be clean on top.
Included Image: StockEU/Best SMM Panel