<select 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
The Role Of In HTML Forms (To Create Drop-Down Lists)

Naming Selection Items

The name attribute of <select> means you can easily use your selection field with JavaScript. For more details on the name attribute, see the name attribute of the <input> element.

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

Browser Support for name