<HTML>
<!-- XHTML TABLE -->
<HEAD>
<TITLE> A XHTML TABLE</TITLE>
</HEAD>
<BODY>
<P>
<!-- TABLE DEFINITION -->
<TABLE BORDER="1">
<!-- COLUMN GROUPING -->
<COLGROUP>
<COL WIDTH="25%">
<COL WIDTH="75%">
</COLGROUP>
<!-- TABLE CAPTION -->
<THEAD>
<TR><TD ALIGN="CENTER" COLSPAN="2">TABLE HEADER</TD></TR>
</THEAD>
<!-- TABLE FOOTER -->
<TFOOT>
<TR><TD COLSPAN="2">TABLE FOOTER</TD></TR>
</TFOOT>
<!-- TABLE BODY -->
<TBODY>
<TR><TH>HEADER CELL-1</TH><TH>
HEADER CELL-2</TH><TR>
<TR><TD>ROW-1, CELL-1</TD><TD>
ROW-1, CELL-2</TD></TR>
<TR><TD>ROW-2,CELL-1</TD><TD>
ROW-2, CELL-2</TD></TR>
</TBODY>
</TABLE>
</P>
</BODY>
</HTML>
<!-- XHTML TABLE -->
<HEAD>
<TITLE> A XHTML TABLE</TITLE>
</HEAD>
<BODY>
<P>
<!-- TABLE DEFINITION -->
<TABLE BORDER="1">
<!-- COLUMN GROUPING -->
<COLGROUP>
<COL WIDTH="25%">
<COL WIDTH="75%">
</COLGROUP>
<!-- TABLE CAPTION -->
<THEAD>
<TR><TD ALIGN="CENTER" COLSPAN="2">TABLE HEADER</TD></TR>
</THEAD>
<!-- TABLE FOOTER -->
<TFOOT>
<TR><TD COLSPAN="2">TABLE FOOTER</TD></TR>
</TFOOT>
<!-- TABLE BODY -->
<TBODY>
<TR><TH>HEADER CELL-1</TH><TH>
HEADER CELL-2</TH><TR>
<TR><TD>ROW-1, CELL-1</TD><TD>
ROW-1, CELL-2</TD></TR>
<TR><TD>ROW-2,CELL-1</TD><TD>
ROW-2, CELL-2</TD></TR>
</TBODY>
</TABLE>
</P>
</BODY>
</HTML>
No comments:
Post a Comment