Test for table tags compliance with HTML 4.01 specification
Topic status automatically displays here - do not remove.
3x3 Table without any formatting:
<TABLE>
<TR>
<TD>1</TD>
<TD>2</TD>
<TD>3</TD>
</TR>
<TR>
<TD>4</TD>
<TD>5</TD>
<TD>6</TD>
</TR>
<TR>
<TD>7</TD>
<TD>8</TD>
<TD>9</TD>
</TR>
</TABLE>
Which displays like this:
By default, no borders should display, and the table size should be determined
by the sum of the cell contents.
However, if we add the border attribute to the TABLE tag, we also imply
that FRAME="border" and RULES="all":
<TABLE BORDER="1"> ... </TABLE>
Which displays like this:
If we further declare the FRAMES and RULES attributes of the TABLE tag,
we can customize the display.
Valid values for the FRAMES attribute are: void | above | below| hsides
| vsides | lhs | rhs | box | border.
Valid values for the RULES attribute are: none | groups | rows | cols
| all.
<TABLE BORDER="1" FRAMES="above"
RULES="cols"> ... </TABLE>
FRAMES="none"
FRAMES="above"
FRAMES="below"
FRAMES="hsides"
FRAMES="vsides"
FRAMES="lhs"
FRAMES="rhs"
FRAMES="box"
FRAMES="border"
RULES="none"
RULES="groups"
RULES="rows"
RULES="cols"
RULES="all"
See Also
Lotech
Solutions' Tips, Tricks, and Procedures
email webmaster
Copyright Lotech Solutions. All rights reserved.