method
The <a href="/en-US/docs/Web/HTTP">HTTP</a> method that the browser uses to submit the form. Possible values are:
- <code>post</code>: Corresponds to the HTTP <a class="external" href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">POST method</a> ; form data are included in the body of the form and sent to the server.
- <code>get</code>: Corresponds to the HTTP <a class="external" href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3">GET method</a>; form data are appended to the <code>action</code> attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
This value can be overridden by a <code><a href="/en-US/docs/Web/HTML/Element/button#attr-formmethod">formmethod</a></code> attribute on a <a title="The HTML <button> element represents a clickable button." href="/en-US/docs/Web/HTML/Element/button"><code><button></code></a> or <a title="The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user." href="/en-US/docs/Web/HTML/Element/input"><code><input></code></a> element.
trait Attr
class Object
trait Matchable
class Any