onLoad Event handlers
<body onload="inform()"> //Execution of code //will begin after the page has loaded.
<frameset onload="inform()"> //Execution of code //will begin after the current frame has loaded.
<img src="whatever.gif" onload="inform()"> //Execution of code will begin after the image //has loaded.
Lets see an example of an onload handler:
<html> <head><title>Body onload example</title> </head> <body onload="alert('This page has finished loading!')"> Welcome to my page </body> </html>