HTML Tables:

You should NOT use tables for your page layout design! Only use tables for displaying tabular data. Show below is the html code for a table. Grab the code to start your table and see the optional styles available for customizing the appearance of your HTML table.

HTML CODE for a TABLE:



 <table>
<thead>
<tr>
<td>Product:</td>
<td>Price:</td>
</tr>
</thead>
<tbody>
<tr>
<td>Music books</td>   <td>$5.00</td>
</tr>
<tr>
<td>Graphic books</td>   <td>$10.00</td>
</tr>
<tr>
<td>Video books</td>   <td>$15.00</td>
</tr>
</tbody>
</table>


Results:

Product:Price:
Music books $5.00
Graphic books $10.00
Video books $15.00


Optional Styles

Listed below are just a few of the optional styles that you can set Inside
the <tr> & <td> tags of your table:

Width
Background-color

*In-line style syntax:      <td  style="width:50%; background-color:silver;">