2.2.2.4 HTMLBodyElement

The HTMLBodyElement interface provides access to the body element, and specifies the beginning and end of the document body.

The HTMLBodyElement interface has been extended with the following attributes:

The body element is a block element.

 //Introduced in Internet Explorer.
 interface HTMLBodyElement : HTMLElement {
             
  
             attribute DOMString       bgProperties;
             attribute DOMString       bottomMargin;
             attribute DOMString       leftMargin;
             attribute boolean         noWrap;
            attribute Function        onbeforeunload;
            attribute Function        onselect;
             attribute DOMString       rightMargin;
             attribute DOMString       scroll;
             attribute DOMString       topMargin;
 };