例子1
<table border=5 cellspacing=9 borderColor="red" align="center" bgcolor="yellow"
width=500px>
<tr align="center"><td>1</td><td>2</td><td>3</td></tr>
<tr align="center"><td>1</td><td>2</td><td>3</td></tr>
<tr align="center"><td>1</td><td>2</td><td>3</td></tr>
</table>
例子2
<HTML><!--head 元素表示头部--><HEAD><META content="IE=5.0000"
http-equiv="X-UA-Compatible">
<TITLE>菜谱</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<META name="GENERATOR" content="MSHTML 11.00.9600.18500"></HEAD>
<BODY>
<TABLE width="400" height="180" align="center" bordercolor="#d881e8" border="5"
cellspacing="0">
<TBODY>
<TR align="center" bordercolor="#d881e8">
<TD colspan="3">星期一菜谱</TD></TR>
<TR align="center" bordercolor="#d881e8">
<TD rowspan="2">素菜</TD>
<TD>青草茄子</TD>
<TD>花椒土豆</TD></TR>
<TR align="center" bordercolor="#d881e8">
<TD>小葱豆腐</TD>
<TD>炒白菜</TD></TR>
<TR align="center" bordercolor="#d881e8">
<TD rowspan="2">荤菜</TD>
<TD>鱼香肉丝</TD>
<TD>油闷大虾</TD></TR>
<TR align="center" bordercolor="#d881e8">
<TD>海参鲍鱼<IMG width="70" src="html2_files/banner.jpg"> </TD>
<TD><IMG width="70"
src="html2_files/banner.jpg"></TD></TR></TBODY></TABLE></BODY>
</HTML>