HTML <caption> Tag

<table style="width:100%;background:#eee;">
<caption>
Table 1. This table shows the total number of annual visitors to our website across a three year period.
</caption>
<tr>
<td>2012</td>
<td>1,831,454</td>
</tr>
<tr>
<td>2013</td>
<td>304,560</td>
</tr>
<tr>
<td>2014</td>
<td>24,559</td>
</tr>
</table>
<p>Sign up for our SEO services now!</p>

The <caption> element can be used to create captions on tables. It represents the title of the table. Therefore, it is used with the <table> element to provide the title of that element.

The <caption> element is useful for times when it is not necessarily apparent what the data in the table means. For example, a table with rows and columns of numbers might not mean much without a caption to explain what the numbers mean.