How to create a table in HTML

Nowadays tables are mainly used for data structure and newsletter design. If you consider using a table please think twice because tables are no longer part of contemporary webdesign projects. Please find below an example of standard table webdesign:

<table>

<thead>
<tr>
<th>Head1</th>
<th>Head2</th>
<th>Head3</th>
</tr>
</thead>

<tbody>
<tr>
<td>Data4</td>
<td>Data5</td>
<td>Data6</td>
</tr>
<tr>
<td>Data7</td>
<td>Data8</td>
<td>Data9</td>
</tr>
<tr>
<td>Data7</td>
<td>Data8</td>
<td>Data9</td>
</tr>
</tbody>

</table>

To furnish this table with a beautiful style we would advise you to consult ‘How to create a table in CSS’.



Was this useful?