I need to understand when does a body\'s onload gets called
onload
I read in w3school that onload=Script to be run when a document load what does
onload=Script to be run when a document load
The onLoad event is fired after the successful completion of the dom tree, e.g. the successful loading of all the elements inside the body.
onLoad