/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: formmethod

[this page | pdf | back links]

The HTML formmethod attribute indicates how to send form-data (i.e. which HTTP method to use). It applies to <button> and <input> elements and then only for type = submit.

 

Valid attribute values (when used with <button> and <input> elements) include:

 

Value

Description

HTTPmethod

HTTP method (get or post). See here for more details

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile