综合案例-注册界面
一,环境:vscode
二,样式
三,代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h3>青春不常在,抓紧谈恋爱!</h3> <br/>
<table width=600>
<form>
<tr>
<td>性别:</td>
<td>
<input type="radio" name="sex" id="man" value="男"> <label for="man">男<img src="images/man.jpg" /></label>
<input type="radio" name="sex" id="women" value="女"><label for="women">女<img src="images/women.jpg" /></label>
</td>
</tr>
<tr>
<td>生日:</td>
<td>
<select>
<option>--请选择年份--</option>
<option>2001</option>
<option>2002</option>
<option>2003</option>
</select>
<select>
<option>--请选择月份--</option>
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<select>
<option>--请选择日--</option>
<option>1</option>
<option>15</option>
<option>26</option>
</select>
</td>
</tr>
<tr>
<td>所在地区:</td>
<td><input type="text" value="河南省" name="area"></td>
</tr>
<tr>
<td>婚姻状况:</td>
<td>
<input type="radio" name="hyzk" id="weihun"><label for="weihun">未婚</label>
<input type="radio" name="hyzk" id="yihun"><label for="yihun">已婚</label>
<input type="radio" name="hyzk" id="weihun"><label for="lihun">离婚</label>
</td>
</tr>
<tr>
<td>学历:</td>
<td><input type="text" value="博士后"></td>
</tr>
<tr>
<td>喜欢的类型:</td>
<td>
<input type="checkbox" id="tianmei" name="form"><label for="tianmei">甜美</label>
<input type="checkbox" id="huola" name="form"><label for="huola">火辣</label>
<input type="checkbox" id="qingchun" name="form"><label for="qingchun">清纯</label>
<input type="checkbox" id="youren" name="form"><label for="youren">诱人</label>
<input type="checkbox" id="dxh" name="form" checked="checked"><label for="dxh">都喜欢</label>
</td>
</tr>
<tr>
<td>个人介绍:</td>
<td>
<textarea>--个人介绍--</textarea>
</td>
</tr>
<tr>
<td></td>
<td><input type="reset"></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="免费注册"></td>
</tr>
<tr>
<td></td>
<td>
<input type="checkbox" checked="checked" id="ty"><label for="ty">我同意注册条款和会员加入标准</label>
</td>
</tr>
<tr>
<td></td>
<td>
<h4>我承诺:</h4>
<ul>
<li>年满18</li>
<li>遵守规定</li>
</ul>
</td>
</tr>
</form>
</table>
</body>
</html>