HTML <form> 标签的 method 属性
定义和用法
method 属性规定如何发送表单数据(表单数据发送到 action 属性所规定的页面)。
表单数据可以作为 URL 变量(method="get")或者 HTTP post (method="post")的方式来发送。
实例
在下面的例子中,表单数据将通过 method 属性附加到 URL 上:
method="get">
First name:
Last
转载
2012-10-27 16:22:48 ·
1042 阅读 ·
0 评论