HTML <caption> Element Reference

The HTML <caption> element gives a table an accessible title or description.

<caption>

HTML <caption> Element Reference

The HTML <caption> element gives a table an accessible title or description.

Categories

  • Tabular data

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 caption element example.

<table>
  <caption>Monthly expenses</caption>
  <tr><th>Month</th><th>Total</th></tr>
</table>

Related references

Description

The HTML <caption> element gives a table an accessible title or description.

References

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

Similar or alternative tools

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