HTML Dog
Skip to navigation

HTML Tag: body

The main content area of an HTML document.

You must use this element and it should be used just once. It should start immediately after the closing head tag and end directly before the closing html tag.

Optional Attributes

Global attributes

Example


<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Shake Your Body, Baby</title>
    </head>
    <body>
        <!-- Bam! Here! Content! Shake it! Baby. -->
    </body>
</html>