Handling Load Events in a Content Document
<HTML> <HEAD> <TITLE>Handling load events in a content document</TITLE> </HEAD> <BODY onLoad="alert('Hello!')" onUnload="alert('Bye Bye!')"> <H1>Handling load events in a content document</H1> </BODY> </HTML>