New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# body

The container for a web page's content. Must be a direct child of <html>, and must be an ancestor of all HTML elements (except where noted).

Example: Copy

<!DOCTYPE html>
<html>
  <head>
    <!-- Document metadata -->
  </head>
  <body>
    <!-- Document content -->
  </body>
</html>