Menu
The caption tag defines a table caption (or title) and must be inserted immediately after the <table> tag.
Example:
<table>
<caption>This is the title of the table</caption>
<tr>
<th>Table head</th>
</tr>
<tr>
<td>Table contents</td>
</tr>
</table>User-submitted codepen.io examples of <caption> ↴
Submit a codepen.io link that demonstrates <caption>: