html-table和form
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表格与表单</title>
</head>
<body>
<table width="600px" height="200px" border="1" align="center" cellspacing="0">
<!--cellspacing 单元格距离-->
<tr><!--行-->
<td colspan="2" align="center">11</td><!--列-->
<!--按列合并-->
<!--<td>12</td>-->
<td align="center">13</td>
</tr>
<tr>
<td align="center">21</td>
<td bgcolor="aqua" align="center" rowspan="3">22</td>
<!--按行合并-->
<td align="center">23</td>
</tr>
<tr>
<td align="center">31</td>
<td align="center">33</td>
</tr>
<tr>
<td align="center">41</td>
<td align="center">43</td>
</tr>
</table>
<br /> <!--换行-->
<form action="" >
username:<input type="text"/>
<br />
password:<input type="password"/>
<br />
gender:<input type="radio" name="gender"/>男
<input type="radio" name="gender"/>女
<br />
habit:
<input type="checkbox" />电影
<input type="checkbox" />音乐
<input type="checkbox" />乒乓球
<br />
籍贯:
<select><!--选择列表-->
<option value="">杭州</option>
<option value="">郑州</option>
<option value="">徐州</option>
<option value="">台州</option>
</select>
<br />
个人简介:
<br />
<!--文本区域 10行9列-->
<textarea name="" rows="10" cols="20">
</textarea>
<br />
<input type="submit" value="确认提交"/>
<input type="button" value="普通按钮" />
<input type="reset" value="重置" />
</form>
</body>
</html>