HTMLBodyElement <body>

Beyond those inherited from the standard HTMLElement interface, the HTMLBodyElement interface offers additional features for manipulationg <body> elements. The body of the document is defined by the <body> tag. All of an HTML document's contents, including headings, paragraphs, graphics, hyperlinks, tables, lists, and more, are contained in the <body> element. In an HTML document, there can only be one <body> element.

Browser Compatibility

Element Chrome Edge Firefox Safari Opera
<body> Yes Yes Yes Yes Yes