为了防止代码不显示直接放入了Java
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录注册</title>
</head>
<body>
<h1>注册</h1>
<!--表单form
action:可以使网站,也可以是一个请求处理地址
method:post,get 提交方式
get 方式提交:我们可以在url中看到我们提交的信息,不安全,高效
post :比较安全,传输大文件
-->
<form action="1.我的第一个网页.html" method="get">
<!-- 文本输入框 input type="text"-->
<p>名字:<input type="text" name="username"></p>
<p>密码:<input type="password" name="psw"></p>
<p>
<input type="submit">
<input type="reset">
</p>
</form>
</body>
</html>