HTML <tr> Tag
The <tr>
tag is used to specify a row in an HTML table.
A <tr>
element holds one or more <th> or <td> elements.
The <tr>
tag is used to specify a row in an HTML table.
A <tr>
element holds one or more <th> or <td> elements.
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <h1>The tr element</h1> <p>The tr tag is used to specify a row within a table.</p> <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>