HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

formmethod

Description

The formmethod attribute for HTML specifies the variant to use for form submission.

Syntax

formmethod="value"

Values

GET

Indicates the HTTP GET method.

POST

Indicates the HTTP POST method.

dialog

Indicates submitting the form is intended to close the dialog box in which the form finds itself, if any, and otherwise not submit.

Examples

1 · HTML · GET

2 · HTML · POST

3 · HTML · dialog

4 · JS · GET

5 · JS · POST

6 · JS · dialog