HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

body

Description

The body of Document for JS returns the body element.

Can be set, to replace the body element.

If the new value is not a body or frameset element, this will throw a "HierarchyRequestError" DOMException.

Syntax

document.body [ = value ]

Examples

1 · get

2 · set