<form action="success.html" method="post" onsubmit="return run()">
<table border="1" width="60%">
<tr>
<td>輸入姓名</td>
<td>
<input type="text" name="username" id="nameId" onfocus="run1()"/><span id="uspan"></span>
</td>
</tr>
<tr>
<td>輸入密碼</td>
<td>
<input type="password" name="password" id="pwdId" />
</td>
</tr>
<tr>
<td>確認密碼</td>
<td>
<input type="password" name="repassword" id="repwdId" /><span id="rpspan"></span>
</td>
</tr>
<tr>
<td>
輸入郵箱
</td>
<td>
<input type="text" name="email" id="emailId" /><span id="espan"></span>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="注冊">
</td>
</tr>
</table>
</form>
td一個單元格
spancol,這個單元格跨2列。
類似的spanrow,跨行。
類似excel的合並單元格