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
Event | Description |
---|---|
error | Triggered when there is an error loading a resource, such as a script or image |
load | Triggered when the document and its resources have been loaded |
unload | Triggered when the browser unloads the document (typically, because the user has navigated elsewhere) |