HTML tables allow web developers to arrange data into rows and columns.
<table>
<tr>
<th>Sno</th>
<th>Name</th>
<th>Roll no</th>
</tr>
<tr>
<td>1</td>
<td>Ritesh</td>
<td>234</td>
</tr>
<tr>
<td>2</td>
<td>Firoz</td>
<td>456</td>
</tr>
</table>
Each table cell is defined by a <td> and a </td> tag.
td stands for table data.
Each table row starts with a <tr> and ends with a </tr> tag.
tr stands for table row.
Sometimes you want your cells to be table header cells. In those cases use the <th> tag instead of the <td> tag:
th stands for table header.