Syntax
onLoad="command"
The onLoad event handler of the Document object is fired when the page has finished loading.
This event handler actually belongs to the Window object but is accessible through the Document object.
The onload event in the
<html> <body onload='alert("The document has completely loaded.")'> </html>