HTML - Body element


The body element represents the body of a document (as opposed to the document’s metadata).

DOM Accessor

The document property document.body returns the body element. Can be set, to replace the body element.

The body element of a document is the first child of the html element that is:

  • either a body element
  • or a frameset element.

If there is no such element, it is null.

Powered by ComboStrap