HTML <form> 标签的 action 和 method 属性

时间:2015-07-10 14:54:49   收藏:0   阅读:2256

method 属性规定如何发送表单数据(表单数据发送到 action 属性所规定的页面)。

表单数据可以作为 URL 变量(method="get")或者 HTTP post (method="post")的方式来发送。

技术分享

 

参考: http://www.w3school.com.cn/tags/att_form_method.asp

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!