Mueller shares this recommendation in a Reddit thread, the place a person asks whether or not HTML code placement might trigger search engine optimization points.
The reply is sure; the position of HTML code might adversely impression your search engine optimization efforts if it doesn’t seem on the high of the web page.
Extra particularly, it’s vital to maintain the <head> part of the HTML doc on the high of the web page. This part ought to comprise the data that Google must learn your web site correctly.
“The html headers (<head>) 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 <head> section.”
Concerning the primary content material, Mueller says its placement is much less vital, although it’s essential for the <head> part to be clear and well-organized so Googlebot can correctly perceive it.
“For the content material it doesn’t matter as a lot, however for the reason that head stuff is for machine-readable info that’s verified to be in a particular a part of the web page, it actually must be clear on high.
Featured Picture: StockEU/Shutterstock