HTMLBodyElement:The body Element

The body element is represented by the HTMLBodyElement object. This object doesn't define any additional properties, but the set of events.

The HTMLBodyElement Events

EventDescription
errorTriggered when there is an error loading a resource, such as a script or image
loadTriggered when the document and its resources have been loaded
unloadTriggered when the browser unloads the document (typically, because the user has navigated elsewhere)
Home 
  JavaScript Book 
    DOM