Table Row Tag - <tr>

This lesson discusses the Table Row <tr> tag and its usage in web development.

This tag is used to define a row in a table. It is used inside the <table> tag to define each row in the table.

<table border="1">
    <tr>
        <th>Name</th>
        <th>Age</th>
    </tr>
    <tr>
        <td>John</td>
        <td>25</td>
    </tr>
    <tr>
        <td>Jane</td>
        <td>30</td>
    </tr>
</table>

The code above shows an example of the <tr> tag. This tag is used to define a row in a table, which contains a set of cells that display data in a structured format.