javaWeb学习

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Course Management System</title>
</head>
<body>
<p align="center"><font size="30" color="red">Management</font></p>
<hr>
<form name="form1" onsubmit="return myFunction">
<table align="center" border="1",width="50%">
<tr><th><font color="Red" face="sanserif typeface">Course</font></th><td><input type="text" size="30" name="course"></td></tr>
<tr><th><font color="Red" face="sanserif typeface">Teacher</font></th><td><input type="text" size="30" name="course"></td></tr>
<tr><th><font color="Red" face="sanserif typeface">Location</font></th><td><input type="text" size="30" name="course"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="save"></td></tr>
</table>
</form>
<script>
function myFunction( )
{
    alert("save successful!");
}
</script>
</body>
</html>

 

posted @ 2020-12-19 19:42  derek&cosmo  阅读(56)  评论(0)    收藏  举报