<form action="path" method="post" name="mainFrame">form>
action:引用页面地址,可以是一个网页,也可以是一个请求
name:框架标识名
示例
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录注册title>
head>
<body>
<h1>注册h1>
<form action="4.链接标签学习.html" method="post">
<p>用户名:<input type="text" name="username">p>
<p>密码:<input type="password" name="pwd">p>
<p>
<input type="submit">
<input type="reset">
p>
form>
body>
html>