previous |
start |
next
<TD
ALIGN=CENTER|LEFT|RIGHT|JUSTIFY
BACKGROUND=url
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CLASS=type
COLSPAN=n
HEIGHT=n
ID=value
NOWRAP
ROWSPAN=n
STYLE=css1 properties
VALIGN=MIDDLE|TOP|BOTTOM|BASELINE
WIDTH=n>
Creates a cell in a table. The end-tag is optional.
- ALIGN=CENTER|LEFT|RIGHT|JUSTIFY
-
Specifies the horizontal alignment of text in a cell. The
default is CENTER.
CENTER |
The text is centered in
the cell. |
LEFT |
The text is aligned with
the left side of the cell. |
RIGHT |
The text is aligned with
the right side of the cell. |
JUSTIFY |
The text in the cell is
justified. |
- BACKGROUND=url
- Specifies a background picture. The picture is tiled
behind the text and graphics in the table, table head, or
table cell.
- BGCOLOR=color
- Sets background color. The color is either a
hexadecimal, red-green-blue color value or a predefined
color name. See
Color.
- BORDERCOLOR=color
- Sets border color. Must be used with the =
HREF="slide.htm"#htmlref2_0001000114004704>BORDER=
attribute of the
TABLE element. The color is either a
hexadecimal, red-green-blue color value or a predefined
color name. See
Color.
- BORDERCOLORDARK=color
- Sets independent border color control over one of the
two colors used to draw a 3-D border, opposite of
BORDERCOLORLIGHT=. Must be used with the =
HREF="slide.htm"#htmlref2_0001000114004704>BORDER=
attribute of the
TABLE element. The color is either a
hexadecimal, red-green-blue color value or a predefined
color name. See
Color.
- BORDERCOLORLIGHT=color
- Sets independent border color control over one of the
two colors used to draw a 3-D border, opposite of
BORDERCOLORDARK=. Must be used with the =
HREF="slide.htm"#htmlref2_0001000114004704>BORDER=
attribute of the
TABLE element. The color is either a
hexadecimal, red-green-blue color value or a predefined
color name. See
Color.
- CLASS=type
- Indicates the class to which the element belongs.
- COLSPAN=n
- Extends the content of a cell into cells of the
adjoining column(s). The number of columns that are
overlapped is indicated by n.
- HEIGHT=n
- Specifies the height of the table cell.
- ID=value
- Specifies a unique value for the element over the
document.
- NOWRAP
- Prevents table columns from wrapping if they extend
beyond the page.
- ROWSPAN=n
- Extends the content of a cell into cells in the
adjoining row(s). The number of rows that are overlapped is
indicated by n.
- STYLE=css1
properties
- Specifies style information.
- VALIGN=MIDDLE|TOP|BOTTOM|BASELINE
-
Specifies the vertical alignment of text in the cell. The
default is MIDDLE.
MIDDLE |
Text is aligned in the
middle of each cell. |
TOP |
Text is aligned with the
top of each cell. |
BOTTOM |
Text is aligned with the
bottom of each cell. |
BASELINE |
Text in adjoining cells in
a row is aligned along a common baseline.
|
- WIDTH=n
- Specifies the width of the table cell.
This element is valid only within a row in a table, that
is, you must use a
TR element before using TD. All attributes are
optional.
previous |
start |
next