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 |
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.