An input field located outside the HTML 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 <input> element 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 <input> element belongs to |
HTML <input> tag
Your message has been sent to W3Schools.