| Learn | HTML - Input Control Elements - Button | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Button Buttons can be used for triggering actions to occur on the page, without submitting the form. You can also use the Buttons are typically used with an "onclick" event: or Attributes |
| Attribute | Description |
|---|---|
form | Specifies the ID of the form the button belongs to. If none is specified, it will belong to its ancestor form element (if one exists). |
formaction | Specifies where to send the form-data when the form is submitted using this button. |
formenctype | Specifies how the form-data should be encoded when submitting it to the server using this button. Can only be used with formmethod="post". |
formmethod | Specifies the HTTP method to use (POST or GET) when sending form-data using this button. |
formnovalidate | Specifies that the form-data should not be validated on submission. |
formtarget | Specifies where to display the response that is received after submitting the form using this button. |
Read Article
https://develop.horje.com/learn/1434/reference