Body Object
The Body object represents the body of the document (the HTML body).
The Body object's properties are
described below:
N: Netscape (including Mozilla when N6 or higher), IE: Internet Explorer, W3C:
World Wide Web Consortium (Internet Standard)
Properties
Syntax: object.property_name
Property |
Description |
N |
IE |
W3C |
accessKey |
Sets or returns the keyboard key to access the body object |
|
5 |
No |
aLink |
Sets or returns the color of active links in the document |
6 |
5 |
Yes |
background |
Sets or returns the URL of the background image of the
document |
6 |
5 |
Yes |
bgColor |
Sets or returns the background color of the document |
6 |
5 |
Yes |
id |
Sets or returns the id of the body (In IE 4 this
property is read-only) |
|
4 |
No |
link |
Sets or returns the color of links in the document |
6 |
5 |
Yes |
scrollLeft |
Sets or returns the distance between the left edge of the
body and the leftmost portion of the content visible in the window |
7 |
5 |
No |
scrollTop |
Sets or returns the distance between the top edge of the
body and the topmost portion of the content visible in the window |
7 |
5 |
No |
text |
Sets or returns the color of text in the document |
6 |
5 |
Yes |
vLink |
Sets or returns the color of visited links in the document |
6 |
5 |
Yes |
|