Back to Concepts

<body>

Contains the visible page content.

The `<body>` element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. There can be only one `<body>` element in an HTML document. This is where you put everything you want the user to actually see.

Live Example & Code

Preview Output
<body>
  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>
</body>
HTMLViz
© 2026 HTMLViz. Open Source Learning.