You are here : htmlHTML 5tr

<tr> - HTML 5

The <tr> tag defines a row in an HTML table.

A <tr> element contains one or more <th> or <td> elements.


Syntax

    <table>             <tr>               <th>Month</th>               <th>Savings</th>             </tr>             <tr>               <td>January</td>               <td>$100</td>             </tr>      </table>


Example

    <table>             <tr>               <th>Month</th>               <th>Savings</th>             </tr>             <tr>               <td>January</td>               <td>$100</td>             </tr>      </table>


Output / Return Value


Limitations


Alternatives / See Also


Reference