What is a Table in HTML?
A table is a representation of data arranged in rows and columns. Really, it's more like a
spreadsheet. In HTML, with the help of tables, you can arrange data like images, text, links
and so on into rows and columns of cells.
• <tr> - represents rows
• <td> - used to create data cells
• <th> - used to add table headings
• <caption> - used to insert captions
• <thead> - adds a separate header to the table
• <tbody> - shows the main body of the table
• <tfoot> - creates a separate footer for the table
An example with use of <th>
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Email Address</th>
</tr>
<tr>
<td>AZAN</td>
<td>BILAL</td>
<td>tables@[Link]</td>
</tr>
<tr>
<td>AZAN</td>
<td>QARNI</td>
<td>developer@[Link]</td>
</tr>
</table>