我的第一篇html代码

来源:互联网 发布:徐州网站建设优化宣传 编辑:程序博客网 时间:2024/05/09 08:17
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>work</title>
<style type="text/css">
label{
font-family: 方正静蕾简体;
color: red;
font-size: 30px;
}
</style>
</head>
<body>
<div style="text-align:center">
<h2>学生信息录入</h2>
<hr width="30%" />
<form action="table.html" method="GET">
<label>用户名:</label><input input autofocus style="width:200px;height:20px" type="text" name="myname" placeholder="请认真填写用户名" />
<br><br>
<label>密  码  :<label></label><input type="password" name="mypass" style="width:200px;height:20px" />
<br><br>
<label>性别:</label><input type="radio" name="sex" checked value="男"/>
<label for="et_man">男</label>
<input type="radio" name="sex" value="女"/>
<label for="et_woman">女</label>
<br><br>
<label>爱好:</label><input type="checkbox" name="hobby" value="ping-pong"/>乒乓球
<input type="checkbox" name="hobby" value="swim"/>游泳
<input type="checkbox" name="hobby" value="playgame"/>打游戏
<br><br>
<label>归属地:</label><select name="city">
<option value="兰州">兰州</option>
<option value="佳木斯">佳木斯</option>
<option value="南充">南充</option>
<option value="济南" selected>济南</option>
</select>
<br><br>
<label>个人简介</label><br><textarea cols="25" rows="5"></textarea>
<br><br>
<input type="submit" value="提交"/>
<input type="reset" value="重置"/><br>
<input type="hidden" name="0001" value="1000" />
</form>
</div>
</body>
</html>
0 0