A data table contains information that is presented in tabular format, for example a timetable. Row and column headers describe the contents of table cells and providing context for the information contained in the table as a whole.
Use the <th> to create column headers and the <td> tag create a data cell in a table. Associate the content in the data cells with the headers attribute.
You group together your table fields with the use of row and column headers. This allows browsers to translate tables linearly. To assign headers, use the id="headername" attribute in rows or columns containing headers. You then specify headers="IDname" for each corresponding row or column.
<tr>
<th ID="header1">Date</th>
<th ID="header2">Holiday>/th>
</tr>
<tr>
<td headers="header1">February 14</td>
<td headers="header2">Valentine's Day</td>
</tr>