Name
BODY — NN n/a IE 4 DOM 1
Synopsis
The BODY object
reflects the BODY element, which is distinct from
the document object. The BODY
object refers to just the element and its nested content. The
BODY object is special in IE 4 in that it is the
gateway to many important visual aspects of content on the page, such
as background, margins, and scrolling. There is a shortcut reference
to the object, document.body, so you don’t
have to build a reference via the
document.all.
elementID
hierarchy.
HTML Equivalent
<BODY>
Object Model Reference
- IE
[window.]document.body
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
|
|
|
|
|
|
|
|
Collections/Arrays
|
|
|
|
Event Handler Properties
|
Handler |
NN |
IE |
DOM |
|---|---|---|---|
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access