Appearance: | <CAPTION> </CAPTION> |
---|---|
Attributes: | ALIGN=left|right|center, VALIGN=top|middle|bottom|baseline |
Appearance: | <TD> </TD> |
---|---|
Attributes: | ROWSPAN=n, COLSPAN=n, NOWRAP, ALIGN=left|right|center, VALIGN=top|middle|bottom|baseline, WIDTH=n, HEIGHT=n |
Appearance: | <TH> </TH> |
---|---|
Attributes: | ROWSPAN=n, COLSPAN=n, NOWRAP, ALIGN=left|right|center, VALIGN=top|middle|bottom|baseline, WIDTH=n, HEIGHT=n |
The details of a table, the rows and cells, are designed row by row and cell by cell. First we detail the attributes of row 1 and then each cell in row 1 before we continue to row 2, 3, etc. Columns are automatically calculated. Three tags define the table. The following code:
<TABLE BORDER> <TR> <TH>First Name</TH> <TH>Last Name</TH> <TH>Address</TH> </TR> <TR> <TD>John</TD> <TD>Smith</TD> <TD>Anywhere, USA</TD> </TR> </TABLE>would produce:
First Name | Last Name | Address |
---|---|---|
John | Smith | Anywhere, USA |
T10D012