The body element represents the body of a document (as opposed to the document’s metadata).
global attributes & onafterprint & onbeforeprint & onbeforeunload & onblur & onerror & onfocus & onhashchange & onload & onmessage & onoffline & ononline & onpagehide & onpageshow & onpopstate & onresize & onstorage & onunload
A body element’s start tag may be omitted if the first thing inside the body element is not a space character or a comment, except if the first thing inside the body element is a script or style element.
A body element’s end tag may be omitted if the body element is not immediately followed by a comment and the element is either not empty or its start tag has not been omitted.
interface HTMLBodyElement : HTMLElement { attribute EventHandler onafterprint; attribute EventHandler onbeforeprint; attribute EventHandler onbeforeunload; attribute EventHandler onblur; attribute OnErrorEventHandler onerror; attribute EventHandler onfocus; attribute EventHandler onhashchange; attribute EventHandler onload; attribute EventHandler onmessage; attribute EventHandler onoffline; attribute EventHandler ononline; attribute EventHandler onpopstate; attribute EventHandler onpagehide; attribute EventHandler onpageshow; attribute EventHandler onresize; attribute EventHandler onscroll; attribute EventHandler onstorage; attribute EventHandler onunload; };