HTML <caption> tag
Usage
Assigns a caption to your table. Must go inside the opening and closing table tags.
Example
Code:
<table border="1">
<caption>Table caption</caption>
<tr>
<td>Table cell 1</td>
<td>Table cell 2</td>
</tr>
</table>
Output:
| Table cell 1 | Table cell 2 |
Required Attributes
- none
Optional Attributes
- none