ZVON > References > [XHTML Basic] Reference
Basic Tables Module > element tr

Go to Standard
Element: tr
Attributes: | align | class | id | title | valign | xml:lang |
Parents: | table |
Children: | td | th |

Your browser display:
A test table with merged cells
Average Red
eyes
height weight
Males 1.9 0.003 40%
Females 1.7 0.002 43%
Source [  Open as XHTML document  ]

<table summary="This table gives some statistics about fruit flies: average height and weight, and percentage with red eyes (for both males and females).">
     <caption>
          <em>A test table with merged cells</em>
     </caption>
     <tr>
          <th rowspan="2"/>
          <th colspan="2">Average</th>
          <th rowspan="2">Red
               <br/>eyes
          </th>
     </tr>
     <tr>
          <th>height</th>
          <th>weight</th>
     </tr>
     <tr>
          <th>Males</th>
          <td>1.9</td>
          <td>0.003</td>
          <td>40%</td>
     </tr>
     <tr>
          <th>Females</th>
          <td>1.7</td>
          <td>0.002</td>
          <td>43%</td>
     </tr>
</table>

Your browser display:
Cups of coffee consumed by each senator
Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes
A. Soria Not available
Source [  Open as XHTML document  ]

<table>
     <caption>Cups of coffee consumed by each senator</caption>
     <tr>
          <th>Name</th>
          <th>Cups</th>
          <th>Type of Coffee</th>
          <th>Sugar?</th>
     </tr>
     <tr>
          <td>T. Sexton</td>
          <td>10</td>
          <td>Espresso</td>
          <td>No</td>
     </tr>
     <tr>
          <td>J. Dinnen</td>
          <td>5</td>
          <td>Decaf</td>
          <td>Yes</td>
     </tr>
     <tr>
          <td>A. Soria</td>
          <td colspan="3">
               <em>Not available</em>
          </td>
     </tr>
</table>

Your browser display:
1 2 3
4 5 6
7 8 9
Source [  Open as XHTML document  ]

<table>
     <tr>
          <td>1</td>
          <td>2</td>
          <td>3</td>
     </tr>
     <tr>
          <td>4</td>
          <td>5</td>
          <td>6</td>
     </tr>
     <tr>
          <td>7</td>
          <td>8</td>
          <td>9</td>
     </tr>
</table>