A button located outside a form (but still a part of the form):
![]()
The form attribute is supported in all major browsers, except Internet Explorer.
The form attribute specifies one or more forms the button belongs to.
The form attribute is new in HTML5.
| Value | Description |
|---|---|
| form_id | Specifies a space-separated list of id's to one or more forms the button belongs to |
HTML <button> tag
Your message has been sent to W3Schools.