HTML Tr Tag

Reference on the Tr Element of HTML. Including its useful example, and a list of allowed attributes.

The tr element, is used inside the table element, as a container for table cells and header cells. Each tr element, creates a row of table cells.

Attributes

Attribute:Value:Description:
AttrsOther AttributesCommon, Event, I18n
cellhalignleft|center|right|justify|charhorizontal alignment in cells
cellvaligntop|middle|bottom|baselinevertical alignment in cells

Example

<table summary="Example of how to use the tr Element">
 <tr>
  <td> Cell 1 </td><td> Cell 2 </td><td> Cell 3 </td>
 </tr>
 <tr>
  <td>The first cell</td><td>The second cell</td><td>The third cell</td>
 </tr>
</table>

Brugbart Vision!

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.