Table row or tr tag
The <tr> tag defines a row in an HTML table.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
</body>
</html>
Output:
| Month | Savings |
|---|---|
| January | $100 |
| February | $80 |
Comments
Post a Comment