Event "onload" value(s):
One or more script statements each ended with a semicolon.

The onload event occurs when the user agent finishes loading a window or all frames within a FRAMESET. All the frames have been loaded.

Attribute "onload" example:

<html><head><title>ondload Event attribute</title></head><body bgcolor="Silver" text="Blue"
onload="alert('page has been loaded')" >
The onload event occurs when the user agent finishes
loading a window or all frames within a FRAMESET.
</body></html>

Event "onunload" value(s):
One or more script statements each ended with a semicolon.

The onunload event occurs when the user agent removes a document from a window or frame. All the frames have been removed