HTML Caption Tag

Examples

<table border="1">
  <caption>Exam Marks </caption>
  <tr>
    <th>Subject</th>
    <th>Marks</th>
  </tr>
  <tr>
    <td>Maths</td>
    <td>74</td>
  </tr>
</table>

Result 

Exam Marks
Subject Marks
Maths 74

0 comments:

Post a Comment