Javascript Reference
Categories: document

javascript document body

@March 15, 2008, 1:22 a.m.
body Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1

Read-only

Returns a reference to the body object defined by the body element within the document. This property is used as a gateway to the body object's properties.

 
Example
 
document.body.leftMargin = 15;
 
Value

Object reference.

 
Default

The current body object.


Powered by Linode.