What Is an HTML Drop Down Menu?

select, element name to create a single or multiple choice menu.

select

(In HTML)

When submitting the form, the browser submits the selected items or collects multiple options separated by commas, combines them into a single parameter list, and includes the name attribute when submitting <select> form data to the server. [1]
All major browsers support the <select> tag.
Attributes
value
description
autofocus
autofocus
Specifies that the drop-down list automatically gets focus when the page loads. [2]
id, class, title, style, dir, lang, xml: lang, accesskey, tabindex For a full description, visit
onfocus, onblur, onchange, ononline, onoffline, onredo, onpageshow, onerror, onundo, onmessage, onunload, onload, onafterprint [3]
The <select> tag supports global attributes of HTML.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?