<form name="">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- HTML Form Code For Beginners (And When To Use It)
- What does
<form name="">
do? - The `name` attribute is deprecated when used with the `form` element. Use `id` instead.
When used with the form
element, the name
attribute is deprecated. Use id
instead.
Note: name
is not deprecated when used with form fields.