<body>: The HTML Body Element

1 Description

The HTML <body> element holds the content which will be displayed by a web browser when the page is loaded.

Only one <body> element is allowed on each HTML document. The <body> element must be a child of the root HTML element and follow the <head> element.

2 Examples

2.1 Example 1

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <p>This is a very simple webpage.</p>
    </body>
</html>

This is a very simple html file that, observe how the <body> element is a child of the html element and follows the head element.

This document was last updated: