HTML <tr> (Table Row) Tag

❮ Previous Reference Next ❯


    <td>Foot data</td>
    <td>foot data</td>


The <tr> element specifies a row in a table. The individual cells of the row are defined by the <th> and <td> elements.


Version: HTML 3.2, 4, 4.01, 5

Standard Syntax


Browser Support


Global Attributes

The <tr> element also supports the Global Attributes in HTML.

Event Attributes

The <tr> element also supports the Event Attributes in HTML.

By Default CSS Value(s)

Most of the browsers will display the <tr> element with the following by default value(s)

tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;

Related Tags:

<caption>, <col>, <colgroup>, <table>, <tbody>, <td>, <tfoot>, <th> and <thead>
❮ Previous Reference Next ❯