In Action

HTML Table Formatting

A simple example demonstrating how you can format a table.

one two three
1 2 3
a b c


Toycode

HTML Code

Just cut-n-paste to reuse.

     
<table 
align="center"
border="1"
bordercolor="8e6b23"
bgcolor="8e6b23"
cellspacing="1"
cellpadding="6"
> 
 <th>one
 <th>two
 <th>three
 <tr align="center" bgcolor="b87333" bordercolor="8e236b">
   <td>1
   <td>2
   <td>3
 <tr align="center" bgcolor="b87333" bordercolor="8e236b">
   <td>a
   <td>b
   <td>c
</table>