html-表单
action:如果点击了submit按钮,浏览器会向服务器发送请求,action就是请求的页面。如果action为空,那么就是还是请求刚刚的页面
method:get/post
get:把form中的控件的参数,用 ?<name>=<value>&<name>=<value>
post:把form中的控件的参数,放到form data中
<form action="" method="">
姓名:<input type="text" name="username" id="username">
密码:<input type="password" name="password" id="password">
<input type="submit" value="提交">
</form>