0
Where is it better to write a script tag and why?
Где лучше написать тег script и почему?
1 Respuesta
+ 3
if you put it on the header, it will execute that before the body. if you put it in body, it will, at first, only have access to the body that came before, and ignore the rest. so, if you want to manipulate the body of the website using js, you should put it at the end of body.