form
The HTML <form> element represents a container for interactive controls for submitting information.
code | result |
---|---|
|
attributes
attribute | description |
---|---|
action |
The URL that handles the form action. Can be overridden by a formaction attribute on a <button>, <input type=submit>, or <input type=image> element. |
method | The HTTP method of action. Can be overridden by formmethod attribute on <button>, <input type="submit">, or <input type="image"> elements. Possible values:
|
enctype |
The MIME type of the form submission for method post. Can be overridden by formenctype attribute on <button>, <input type=submit>, or <input type=image> element. Possible values:
|
autocomplete |
Possible values:
|
target |
Specifies where to display the response after submitting the form. Can be overridden by a formtarget attribute on <button>, <input type=submit>, or <input type=image> element. Possible values:
|