: The CAPTION Element
Last updated: 2026-09-12
<caption>The CAPTION Element
The table's title, must be the first child of table and is shown above it by default.
| Category | Tables |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </caption> tag |
| Status | Standard |
📝 Syntax
<table>
<caption>Table caption</caption>
...
</table>
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <caption> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: caption is centered above the table by default; use CSS caption-side to move it below.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.