HTML Tag: table
The basis of a table, used to format tabular data.
Optional Attributes
Attribute | Description | Possible values |
---|---|---|
border |
A bonkers unnecessary nuisance that apparently “explicitly indicates that the table is not used for layout.” | Empty or 1 . |
Global attributes |
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>