The
Web Designer can also add a HEADING Table Cell <TH>
defines a table heading cell. Within the <TH>
tag are placed the ATTRIBUTES of: ALIGN=LEFT
or RIGHT
or CENTER
-
the horizontal alignment of the contents of the cell and
VALIGN
= TOP
or MIDDLE
or BOTTOM
- the vertical alignment of the contents of the cell
Example
<TABLE
BORDER=2>
<TH ALIGN=CENTER VALIGN=MIDDLE>
This is a Table Heading Cell </TH>
<TR>
<TD>This
is the first Row and first Data Cell
of this Table</TD>
<TD>This is the first Row
and second Data Cell of this Table</TD>
</TR>
<TR>
<TD>This
is the second Row and third Data Cell
of this Table</TD>
<TD>This
is the second Row and fourth Data Cell
of this Table</TD>
</TR>
</TABLE>
This
is a Table Heading Cell |
This
is the first Row and first Data Cell of this Table |
This
is the first Row and second Data Cell of this Table |
This
is the second Row and third Data Cell of this Table |
This
is the second Row and fourth Data Cell of this Table |
|