1、创建一个html文件用于简单的网页注册demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>注册</title>
</head>
<body>
<!--表单域,action用于将获取的到信息提交到后台地址-->
<form action="save" method="get">
<span>
用户:<input type="text" name="username">
</span>
<br>
<span>
密码:<input type="password" name="password">
</span>
<br>
<span>
<input type="submit" name="submit1" value="注册">
</span>
</form>
</body>
</html>
2、创建一个html文件用于简单的网页登录demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录</title>
</head>
<body>
<form action="query" method="get">
<span>
用户:<input type="text" name="username">
</span>
<br>
<span>