Tables

tr

Creates a row in a table. This tag must be within the table element.

Syntax

<tr attributes> ... </tr>

Example

<table>
   <tr>
      <th>Header one</th>
      <th>Another header</th>
   </tr>
   <tr>
      <td>Data cell</td>
      <td>Another data cell</td>
   </tr>
</table>

Related tags

CSS Properties

HTML attributes

Search the Soup!