|
Tables
<table></table>
Creates a table.
Attributes:
<table border=?>:
defines the width of the border around the table in pixel values from
0 on up ("0" equals no border).
<table height=?>:
defines the height of the table in either pixels or as a percentage
of the window.
<table width=?>:
defines the width of the table in either pixels or as a percentage of
the window.
<table cellpadding=?>:
defines in pixels the space between the contents of a cell and the cell
border
<table cellspacing=?>:
defines in pixels the amount of space between table cells
<tr></tr>
Sets off a row in
a table.
Attributes:
<tr align=?>:
sets the horizontal alignment of the cells to left, center, or right.
These attributes can also be individually set for the cells in the <td>
tag.
<tr valign=?>:
sets the vertical alignment of the cells to top, middle, or bottom.
These attributes can also be individually set for the cells in the <td>
tag.
<td></td>
Defines a particular
cell within a row. This tag must always appear within the <tr>
tags.
Attributes:
<td align=?>:
sets the horizontal alignment of the cell to left, center, or right.
These attributes can also be set for the entire row in the <tr>
tag.
<td valign=?>:
sets the vertical alignment of the cell to top, middle, or bottom. These
attributes can also be set for the entire row in the <tr>
tag.
<td width=?>:
sets the width of the cell in either pixels or as a percentage of the
table.
<td height=?>:
sets the height of the cell in either pixels or as a percentage of the
table.
<td rowspan=?>:
sets the number of rows a cell should span, thus merging those cells
into one cell. rowspan
spans the cell vertically, making it taller. The default value is 1.
<td colspan=?>:
sets the number of columns a cell should span, thus merging those cells
into one cell. colspan
spans the cell horizontally, making it wider. The default value is 1.
<td nowrap>:
disables the text from wrapping within the table cell.
|