Wikipad – Unofficial Coding Documentation

Tables

An element used to store organised information in rows and columns.

<table>: Encapsulates all the code to be included in the table
<caption>: Table Heading
<tr>: Create a new row
<th>: Heading of a row
<td>: A table cell

Demo:

Sweets Menu!
Item Price
Icecream $2.00
Chocolate $4.00
<table>
<caption>Sweets Menu!</caption>
<tr>
  <th>Item</th>
  <th>Price</th>
</tr>
<tr>
  <td>Icecream</td>
  <td>$2.00</td>
</tr>
<tr>
  <td>Chocolate</td>
  <td>$4.00</td>
</tr>
</table>

Back to HTML ReferenceSpot something we didn't? Let us know!