Mueller shares this advice in a Reddit thread, where a user asks whether HTML code placement could cause SEO issues.
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 document at the top of the page. This section should contain the information that Google needs to read your site properly.
“The html headers () should be pretty much 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 content, Mueller says its placement is less important, though it’s crucial for thesection to be clean and well-organized so Googlebot can properly understand it.
“For the content it doesn’t matter as much, but since the head stuff is for machine-readable information that’s verified to be in a specific part of the page, it really needs to be clean on top.
Featured Image: StockEU/Best SMM Panel