今日学习代码
<%--
Created by IntelliJ IDEA.
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<h1>添加学生信息</h1>
<form action="add_student_end.jsp" >
<label for="sid">学号:</label>
<input type="text" id="sid" name="sid" placeholder="学号——20190001">
<label for="name">姓名:</label>
<input type="text" id="name" name="name">
<p>性别:
<input id="man" type="radio" checked="checked" value="男" name="gender"/>男
<input type="radio" id="woman" name="gender" value="女">女
</p>
<label for="age">年龄:</label>
<input type="text" id="age" name="age">
<label for="major">专业:</label>
<select name="major" id="major">
<option value="计算机科学与技术" selected>计算机科学与技术</option>
<option value="软件工程" >软件工程</option>
<option value="网络工程" >网络工程</option>
<option value="数字媒体技术" >数字媒体技术</option>
</select>
<br><br>
<label for="grade">班级:</label>
<input type="text" id="grade" name="grade" ><br><br>
<input type="submit" value="添加">
</form>
</body>
</html>