Deprecated in HTML5. Do not use.

<form name=””>

Sharing is caring!

Attribute of
<form> HTML Tag
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.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for and runs a content agency, Red Robot Media.