<tr> description:
The <tr> element defines table rows.
<tr> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 2, 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV / MSNTV
- AvantGo Palm OS
- AvantGo Windows CE
- HTML 3.2, 4.0
- XHTML 1.0: XHTML Basic Tables Module, XHTML Tables Module
<tr> Attributes:
- align (optional)
- bgcolor (optional) DEPRECATED
- char (optional)
- charoff (optional)
- class (optional)
- dir (optional)
- id (optional)
- lang (optional)
- onclick (optional)
- ondblclick (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- style (optional)
- title (optional)
- transparency (optional) WebTV
- valign (optional)
<tr> End Tag:
</tr> optional
Contents:
Row contents. The following tags are valid within the <tr> tag:
td, th
<tr> Valid Context:
The <tr> tag is valid within the following tags:
table, tbody, tfoot, thead
<tr> Usage:
- basic table
<table border width="200">
<tr><tr>
column 1
</tr><tr>
column 2
</tr></tr>
</table>
<tr> Special Notes:
- While you can omit the ending tag, tables are easier to read when they are present, and it gives you better control over style tags.
- When using nested tables, if the tr tags are not closed, the browsers may become confused as to which table elements go with which table.
More <tr> Information:

