表格
表单
综合练习:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1 align="center" style="color: skyblue">欢迎来到淘宝网</h1>
<table border="1" width="600" height="300" align="center" bordercolor="green" cellspacing="1" cellpadding="1">
<form action="" method="post">
<tr align="center">
<td>真实姓名</td>
<td><input type="text" name="text"></td>
</tr>
<tr align="center">
<td>用户性别</td>
<td>
<input type="radio" name="sex" value="1">男
<input type="radio" name="sex" value="0">女
</td>
</tr>
<tr align="center">
<td>密码</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr align="center">
<td>密码保护问题</td>
<td>
<select>
<option>身份证号码</option>
<option>母亲姓名</option>
<option>父亲姓名</option>
<option>家庭住址</option>
</select>
</td>
</tr>
<tr align="center">
<td>请选择关注的商品类型</td>
<td>
<input type="checkbox" name="checkbox" value="1">数码产品
<input type="checkbox" name="checkbox" value="2">运动产品
<input type="checkbox" name="checkbox" value="3">音像用品
<input type="checkbox" name="checkbox" value="4">家具用品
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" name="submit">
       
<input type="reset" name="reset">
</td>
</tr>
<tr align="center">
<td>淘宝网协议</td>
<td>
<textarea name="textarea" >
欢迎阅读淘宝网服务条款协议...
</textarea>
</td>
</tr>
</form>
</table>
</body>
</html>