<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>3-19作业</title>
</head>
<body>
<form action="" method="post">
<table border="0" cellspacing="8" width="600" bgcolor="lightblue">
<caption><h2>用户注册</h2></caption>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td width="90"><label for="name">用户名:</label></td>
<td width="400"><input type="text" id="name" name="" value="" ></td> <br>
</tr>
<tr>
<td width="90"><label for="name">密 码:</label></td>
<td width="400"><input type="text" id="name" name="" value="" ></td> <br>
</tr>
<tr>
<td width="90"><label for="name">确认密码:</label></td>
<td width="400"><input type="text" id="name" name="" value="" ></td> <br>
</tr>
<td width="90"><label for="name">邮 箱:</label></td>
<td ><input type="text" id="name" name="name" value="" placeholder="example@mail.com" size="25" ></td>
</tr>
</tr>
<td width="90">性 别:</td>
<td >
<input type="radio" name="sex" value="male"> 男
<input type="radio" name="sex" value="woman"> 女
<input type="radio" name="sex" value="secret" checked=""> 保密
</td>
</tr>
<tr>
<td width="90">婚 姻:</td>
<td>
<input type="radio" name="Marital" value="OK">已婚
<input type="radio" name="Marital" value="NO">未婚
</td>
</tr>
<tr>
<td width="90">爱 好:</td>
<td>
<input type="checkbox" name="aiHao[]" value="basketball">篮球
<input type="checkbox" name="aiHao[]" value="football">足球
<input type="checkbox" name="aiHao[]" value="bicycle">自行车
<input type="checkbox" name="aiHao[]" value="running">跑步
<input type="checkbox" name="aiHao[]" value="photography">摄影
</td>
</tr>
<tr>
<td width="90">学 历:</td>
<td>
<select>
<option value="">博士 </option>
<option value="">研究生 </option>
<option value="">本科 </option>
<option value="">专科 </option>
<option value="">高中 </option>
<option value="">初中 </option>
<option value="">其他 </option>
</select>
</td>
</tr>
<tr>
<td><label for="photo">照 片:</label></td>
<td>
<img src="../images/丁磊.jpg" width="30" height="30">
<input type="file" id="" name="photo" accept="用来干嘛">
</td>
</tr>
<tr>
<td valign="middle"><label >自我评价:</label></td>
<!-- 文本域 size=25 -->
<td>
<textarea name="memo1" id="memo1" rows="8" cols="50" placeholder="自我评价"></textarea>
</td>
</tr>
<!-- 按钮的宽度怎样设置 -->
<tr>
<td colspan="2">
<hr>
<input type="submit" name="submit" value="提交" >
<input type="reset" name="reset" value="重填" >
<input type="submit" name="submit" value="关闭" >
</td>
</tr>
</table>
</form>
</body>
</html>