Le tabelle HTML contengono due tipi di celle:
Le celle intestazione sono definite con i tag <th> e </th>. In una tabella semplice, le intestazioni compromettono la prima riga. Per esempio, se la tavola ha tre colonne di dati e tre righe, l'HTML per la tavola appare come indicato a seguire:
<table> <tr> <!-- Row 1 --> <th> Header 1 </th> <th> Header 2 </th> <th> Header 3</th> </tr> <tr> ... </tr><!-- Row 2 --> <tr> ... </tr> <!-- Row 3 --> </table>
Le celle dati sono definite dai tag <td> e </td>. Queste celle di solito formano gran parte della tabella. Aggiungiamo le celle dati alla tabella base:
<tabella>
<tr> <!-- Riga 1 -->
<th> Intestazione 1 </th>
<th> Intestazione 2 </th>
th> Intestazione 3</th>
</tr>
<tr><!-- Riga 2 -->
<td> Dati 1 </td>
<td> Dati 2 </td>
<td> Dati 3 </td>
</tr>
<tr><!-- Riga 3 -->
<td> Dati 1 </td>
<td> Dati 2 </td>
<td> Dati 3 </td>
</tr>
</table>
Questo è come questa tabella è visualizzata in un browser:
Nei modelli predefiniti, in genere le celle intestazione contengono i nomi dei campi, mentre le celle dati contengono variabili PowerMill.