An HTML form with a name attribute:
![]()
The name attribute is supported in all major browsers.
The name attribute specifies the name of a form.
The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.
NONE.
In XHTML, the name attribute is deprecated. Use the id attribute instead.
| Value | Description |
|---|---|
| text | Specifies the name of the form |
HTML <form> tag
Your message has been sent to W3Schools.