<table><tr><td>
Table content goes here...
</td></tr></table>
table
element. Take a peek at the source code of any big corporate website and you are bound to see a plethora of tables, table rows and table data cells, and then nested inside many of the cells you will find even more tables with their respective rows and cells. table
element which uses both a start and an end tag. The <table>...</table>
tags are required to contain at least one set of <tr>...</tr>
tags which themselves are required to contain at least one set of <td>...</td>
tags. Each set of <tr>...</tr>
tags creates one table row while each set of <td>...</td>
tags creates one table data cell. <table><tr><td>Cell content goes here... </td></tr></table>
border
attribute in the <table>
tag we can establish a decorative frame around the table whose thickness is defined in pixels:<table border="5"><tr><td>Cell content... </td></tr></table>
Cell content... |
<table border="5">
<tr><td>Row 1, Cell 1</td><td>Row 1, Cell 2</td></tr>
<tr><td>Row 2, Cell 1</td><td>Row 2, Cell 2</td></tr>
<tr><td>Row 3, Cell 1</td><td>Row 3, Cell 2</td></tr>
</table>
Row 1, Cell 1 | Row 1, Cell 2 |
Row 2, Cell 1 | Row 2, Cell 2 |
Row 3, Cell 1 | Row 3, Cell 2 |
<table>
tag to control the background and border color of your table. These are covered next...
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
If you need a .COM web address, you can get one quick and easy at...
INTRO | TOP | NEXT~> |