【H5】表单
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>表单</title>
<style>
html {
margin: 0 auto;
width: 1000px;
}
h1 {
margin-top: 20px;
margin-bottom: 20px;
}
.i1 {
width: 200px;
}
.but {
margin-left: 25%;
}
</style>
</head>
<body>
<h1 align="center">简历表</h1>
<hr />
<table border="0" cellspacing="0" cellpadding="0" width="1000px">
<tr>
<td>
<form action="" method="post">
<label for="user">用户:</label><input type="text" name="" id="user" value=""
placeholder="请输入用户名" /><br />
<label for="pasw">密码:</label><input type=" password" name="" id="pasw" value=""
placeholder="请输入密码" /><br />
<label for="gend">性别:</label><input type="radio" name="xb" id="gend" value="" /><label
for="gend">男</label>
<input type="radio" name="xb" id="" value="" checked />女<br />
<label for="hoby">爱好:</label><input type="checkbox" name="ah[]" id="hoby" value="" checked />上网
<input type="checkbox" name="ah[]" id="" value="" />打球
<input type="checkbox" name="ah[]" id="" value="" />唱歌
<input type="checkbox" name="ah[]" id="" value="" />游泳<br />
<label for="stdy">学历:</label><select name="" id="stdy">
<option value="高中">高中</option>
<option value="大专">大专</option>
<option value="本科">本科</option>
<option value="研究生" selected>研究生</option>
</select><br />
<label for="birt">出生日期:</label><input type="date" name="" id="birt" value="" /><br />
<div class="but"><br />
<input type="submit" value="提交" />
<input type="reset" value="重置" />
</div>
</form>
</td>
<td><label for="self">简历:</label><br />
<form action="" method="post" width="49%">
<textarea name="" id="" cols="40" rows="10"></textarea><br />
<div class="but"><input type="reset" value="重置" /></div>
</form>
</td>
</tr>
</table>
</body>
</html>
打赏

微信扫一扫,打赏作者吧~