<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加课程</title>
</head>
<body>
<h1>添加课程</h1>
<form action="teacher6.jsp" method="post">
<label for="id">课程编号:</label>
<input type="text" name="id" id="id" pattern="^\d{8}$" required>
<br><br>
<label for="name">课程名称:</label>
<input type="text" name="name" id="name" required maxlength="50">
<br><br>
<label for="number">课程数量:</label>
<input type="text" name="number" id="number" required>
<br><br>
<label for="name1">任课教师:</label>
<input type="text" name="name1" id="name1" required>
<br><br>
<input type="submit" value="添加">
</form>
</body>
</html>