tr
Table row. tr elements must appear within a table element.
Attributes
- align can be used to horizontally align the content of the cell. The value can be left, center, right, justify or char.
- valign can be used to vertically align the content of the cell. The value can be top, middle, bottom or baseline.
- char can be used to specify a character with which cells will align, such as a decimal point. It is not supported by any major browser.
- charoff can be used to specify the number of pixels the alignment should be offset from the char character. It is not supported by any major browser.
Example
<table>
<tr>
<th>Question</th>
<th>Answer</th>
<th>Correct?</th>
</tr>
<tr>
<td>What is the capital of Burundi?</td>
<td>Bujumburra</td>
<td>Yes</td>
</tr>
<tr>
<td>What is the capital of France?</td>
<td>F</td>
<td>Erm... sort of</td>
</tr>
</table>
No comments:
Post a Comment