0
<script> tag - In <head> or <body> ?
Which one is better, adding script tag within the head section or the body?
3 Respostas
+ 1
At the top of end body tag.
Because its wait untill your html and css is rendered.
Thus making nice user interface.
Hope thid helps☺️☺️.
+ 1
It depends. But this has been asked before.
https://www.sololearn.com/discuss/1363615/?ref=app