<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>初识表单post和get提交</title>
</head>
<body>
<!--
表单form
action:表单提交的位置,可以是网站,也可以是一个请求处理地址
method:post,get提交方式
get方式提交:我们可以在url中看到我们提交的信息,不安全,高效
post方式提交:比较安全,在url看不到提交的信息,传输大文件
post方式中:右键点【检查】,点开【网络】,可以看到标头、负载等信息
-->
<form action="iframe内联框架.html" method="post">
<!-- 文本输入框:input type='text' -->
<p>名字:<input type="text" name="username"></p>
<!-- 密码框:input type='password' -->
<p>密码:<input type="password" name="password"></p>
<p>
<!-- 提交 -->
<input type="submit">
<!-- 重置 -->
<input type="reset">
</p>
</form>
</body>
</html>