Warning:
This wiki has been archived and is now read-only.

Elements/tr

From HTML Wiki
Jump to: navigation, search

<tr>

The <tr> element represents a row of cells in a table.

HTML Attributes

See global attributes.


Examples

Example A

[try it]

<table>
  <caption>
    <p>table 1. Sample table</p>
  </caption>
  <tr>
    <td>1</td>
    <td>2</td>
  </tr>
  <tr>
    <td>3</td>
    <td>4</td>
  </tr>
</table>


HTML Reference

The HTML5 specification defines the <tr> element in 4.9.8 The tr element.