<body>
HTML DOM Body object
Body object
The Body object represents the HTML body element.
The Body object represents the body of the document (HTML body).
The body element contains all HTML documents such as text, hyperlinks, images, tables, lists, etc.
Body Object Attributes
W3C: W3C standard.
Attribute | Description | W3C |
---|---|---|
aLink | Sets or returns the alink property of the body element. | Yes |
background | Sets or returns the background property of the body element. | Yes |
bgColor | Sets or returns the bgColor property of the body element. | Yes |
link | Sets or returns the link attribute of the body element. | Yes |
text | Sets or returns the text attribute of the body element. | Yes |
vLink | Sets or returns the vLink property of the body element. | Yes |
Body object events
Event | Description | W3C |
---|---|---|
onload | The script is executed as soon as the page is fully loaded. | Yes |
Standard Properties and Events
The Body object also supports standard properties and events .