<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>学生信息注册界面</title>
<style>
.type{
display: inline-block;
font-size: 30px;
margin-left: 140px;
}
</style>
</head>
<body>
<h1 align="center">学生信息注册</h1>
<div class="type">
<p>
姓名:
<input type="text" name="姓名" value="请输入姓名" maxlength="6" style="width:350px; height:50px;font-size:25px">
</p>
<p>
性别:
<!--
checked---该单选按钮被选中
同一批单选按钮name值要相同
-->
<input id="man" type="radio" checked="checked" name="sex">男
<input type="radio" id="woman" name="sex" >女
</p>
<p>
出生日期:
<input type="text" name="出生日期" value="请输入出生日期" maxlength="6" style="width:350px; height:50px;font-size:25px">
<span>
按格式yyyy-mm-dd
</span>
</p>
<p>
学校:
<input type="text" name="学校" value="请输入学校名称" maxlength="6" style="width:350px; height:50px;font-size:25px">
</p>
<p>
专业:
<select style="width:350px; height:50px;font-size:25px">
<option value="计算机科学与技术">计算机科学与技术</option>
<option value="软件工程">软件工程</option>
<option value="物联网工程">物联网工程</option>
<option value="网络空间安全">网络空间安全</option>
</select>
</p>
<p>
体育特长:
<input type="checkbox" name="篮球" value="篮球" >篮球
<input type="checkbox" name="排球" value="排球" >排球
<input type="checkbox" name="足球" value="足球" >足球
<input type="checkbox" name="游泳" value="游泳" >游泳
</p>
<p>
上传照片:
<!--
maxlength="1" 限制上传文件数为1
-->
<input type="file" name="上传文件" style="width:350px; height:50px;font-size:25px" >
</p>
<p>
密码:
<input type="password" name="密码" maxlength="6" style="width:350px; height:50px;font-size:25px">
</p>
<!--
<textarea name="" rows="" cols=""
wrap="off|virtual|physical">
初始值
</textarea>
其中:
rows设置输入域的行数,
cols设置输入域的列数,
wrap设置是否自动换行。
<span> 标签提供了一种将文本的一部分或者文档的一部分独立出来的方式。
vertical-align:指定行内元素(inline)或表格单元格(table-cell)元素的垂直对齐方式
-->
<p>
<span style="vertical-align:top">个人简历:</span>
<textarea rows="10" cols="50" wrap="soft" style="font-size:25px"></textarea>
</p>
<p>
<input type="submit" name="提交" value="提交" style="width: 100px; height:40px;font-size: 25px">
<input type="reset" name="取消" value="取消" style="width: 100px; height:40px;font-size: 25px">
</p>
</div>
</body>
</html>