HTML <tr> Tag
<table border = "1">
<caption>Caption</caption>
<thead>
<tr><th colspan="2">Table Header (thead)</th></tr>
</thead>
<tfoot>
<tr><th colspan="2">Table Footer (tfoot)</th></tr>
</tfoot>
<tbody>
<tr>
<td>Cell 1 - part of tbody</td>
<td>Cell 2 - part of tbody</td>
</tr>
<tr>
<td>Cell 3 - part of tbody</td>
<td>Cell 4 - part of tbody</td>
</tr>
</tbody>
</table>
The above example demonstrates usage of the <tr>
element.
The <tr>
element represents a table row. The table rows consists of cells, which are created using the <td> element, or with the <th> element for column headers.
See the <table> element for more information.