HTML Table Rows - <tr>
Description
To define a row in a table you use the <tr> tag.
Example for <tr>
For example:
<table border="1">
<tr>
<td>row 1 column 1</td>
<td>row 1 colum 2</td>
</tr>
<tr>
<td>row 2 column 1</td>
<td>row 2 colum 2</td>
</tr>
</table>Give it a go!
Attributes
| align |
left|center|right |
align the contents of the cells in the row to the left center or right of the table |
| bgcolor |
#rrggbb or color name |
specifies the background color of the row. This overrides the bgcolor of the table element. |
| valign |
top|middle|bottom|baseline |
specifies the vertical alignment of the cells content within the row. |