| 2007/06/22 10:30:48 PDT by senchent Edited at 2007/06/22 16:10:54 PDT |
<table>...</table>- Table element.
Important attributes:
-
border="n"
-
cellpadding="n" (space between the cell wall and content)
-
cellspacing="n" (space between each cell wall)
<tr>...</tr>Table Row (creates a row in which cells are placed)
<th>...</th>Table Headers (creates a cell with, by default, centered and boldface text)
<td>...</td>Table Data (create a single cell/box within a table)
Important attributes:
-
colspan="n" (number of columns a cell will take up)
-
rowspan="n" (number of rows a cell will take up)
<table border="1" cellpadding="1" cellspacing="1">
<tr>
<th>Giants</th><th>Athletics</th><th>Dodgers</th>
</tr>
<tr>
<td>Barry Bonds</td><td>Some guy in green.</td><td rowspan="2">Some Bozos</td>
</tr>
<tr>
<td>Barry Zito</td><td>Some guy in yellow.</td>
</tr>
</table>