HTML <body> Element Reference

The HTML <body> element contains the document content presented to the user.

<body>

HTML <body> Element Reference

The HTML <body> element contains the document content presented to the user.

Categories

  • Sections

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical body element example.

<body>
  <main>Page content</main>
</body>

Related references

Description

The HTML <body> element contains the document content presented to the user.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <body> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies