HTML <tr> Tag
- The HTML
<tr>
tag defines a row in an HTML table. - It is used to group HTML table data (HTML
<td>
tags) together. - The content of the
<tr>
tag is represented by a row in an HTML table.
Syntax
The basic syntax for the <tr>
tag is:
<table>
<tr>
<td>Row 1, Column 1</td>
<td>Row 1, Column 2</td>
</tr>
<tr>
<td>Row 2, Column 1</td>
<td>Row 2, Column 2</td>
</tr>
</table>