SyntaxStudy
Sign Up

<body>

tag

Represents the content of an HTML document. There can be only one <body> element in a document.

Syntax

<body> ... </body>

Example

html
<body>
    <header>
        <h1>Site Title</h1>
    </header>
    <main>
        <p>Main content here.</p>
    </main>
    <footer>
        <p>Footer</p>
    </footer>
</body>