: The BODY Element
Last updated: 2026-09-12
<body>The BODY Element
The document body holding everything users see: text, images, forms and more.
| Category | Document Structure |
|---|---|
| Content Model | Child of the root element |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </body> tag |
| Status | Standard |
📝 Syntax
<body>
<h1>Visible content</h1>
</body>
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <body> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: body holds all visible content; modern layout uses semantic tags like header/main/footer inside it.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.