<table height="100" cellspacing="1" cellpadding="1" width="575" border="1">
<tbody>
<tr>
<td bordercolor="#000000" bgcolor="#ffff00">Text 1</td>
</tr>
<tr>
<td bordercolor="#000000" bgcolor="#0000ff">Text 2</td>
</tr>
</tbody>
</table> |
Some properties of a table code: |
border |
table border, 0 means no border |
<tr></tr> |
row |
<td></td> |
column |
bordercolor |
border color of column |
bgcolor |
background color of column or row |
height |
height of table |
width |
width of table |
|
Hint: You should add columns (<td></td>) in the rows (<tr></tr>). If you add two columns in one of the rows, you should add two columns in the other row, too. |
|