HTML5 formmethod

formmethod 属性

该属性用于设置表单数据时的HTTP请求方法,参考 - method 属性

<form  method="GET">

 <!-- 表单数据1 -->
 <!-- 表单数据N -->

 <!-- formmethod 属性 会覆盖 method 属性的设置 -->
 <!-- 当前表单提交的方法是 POST -->

 <button type="submit" formmethod="POST">提交</button> 

</form>
更多教程 HTML5 教程 CSS3 教程 JavaScript 教程 JQuery 教程 React.js 教程 Node.js 教程 Koa2 教程 Python 教程 Linux 教程