<tr>

The table row element groups one row of cells within a table.

Since HTML 3.2 Spec ↗

Syntax

<tr>...</tr>

Examples

<tr>
  <td>Alice</td>
  <td>Engineer</td>
</tr>
Output
Renders a single horizontal row containing two cells.

Notes

<tr> must contain only <td> or <th> cells and live inside <table>, <thead>, <tbody>, or <tfoot>.

Browser & runtime support

EnvironmentSince version
chrome 1.0
firefox 1.0
safari 1.0
edge 12

See also