Why is it good practice to place scripts at the bottom of the body tags? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why is it good practice to place scripts at the bottom of the body tags?

15th Feb 2017, 9:30 AM
Emmanuel Nuotah
2 Respostas
+ 11
So that script will be loaded only after your whole document is loaded.
15th Feb 2017, 10:06 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
So that your visual part of the website is loaded first and the the processing back end
4th Mar 2017, 11:56 PM
Jan Andersson
Jan Andersson - avatar