IE单独推出的并得到HTML3.0规范支持的表格属性有: <THEAD> - specifies the Table head <TBODY> - specifies the Table body <TFOOT> - specifies the Table footer <COLGROUP> - used to group column alignments <COL> - used to specify individual column alignments 以下是我作的一个例子,比较烦,朋友们可以看一下。这些属性的主要用途还是在SCRIPT驱动的动态效果时才能反映出来。
复制代码代码如下: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD> <BODY BGCOLOR="#FFFFFF"> <TABLE BORDER FRAME=hsides RULES=cols> <COL ALIGN=left> <COLGROUP SPAN=3 ALIGN=center VALIGN=middle> <THEAD BGCOLOR="#FF0000"> <CAPTION ALIGN=center><FONT SIZE=+1><B> A section of the Comparison Table</B></FONT> </CAPTION> <TR> <TD><B>Element<B></TD><TD><B>Internet Explorer</B></TD> <TD><B>Netscape</B></TD><TD><B>Mosaic</B></TD> </TR> </THEAD> <TBODY BGCOLOR="#33CCFF"> <TR> <TD><B></TD><TD>X</TD><TD>X</TD><TD>X</TD> </TR> <TR> <TD><BASE ...></TD><TD>X</TD><TD>X</TD><TD>X</TD> </TR> <TR> <TD> ...HREF</TD><TD>X</TD><TD>X</TD><TD>X</TD> </TR> <TR> <TD> ...TARGET</TD><TD>X</TD><TD>X</TD><TD></TD> </TR> <TR> <TD><BASEFONT ...></TD><TD>X</TD><TD>X</TD><TD></TD> </TR> <TR> <TD VALIGN=top> ...SIZE</TD><TD>X <FONT SIZE=-1> (only visible when FONT SIZE= used
as well)</FONT></TD><TD VALIGN=top>X</TD> <TD></TD> </TR> <TR> <TD> ...FACE</TD><TD>X</TD><TD></TD><TD></TD> </TR> <TR> <TD VALIGN=top><BGSOUND ...></TD><TD VALIGN=top>X</TD> <TD></TD><TD>X <FONT SIZE=-1>(will spawn player for