Skip to main content

What Is Drop-down List In HTML?

by
Last updated on 6 min read

A drop-down list in HTML is a form control that lets users pick one option from a collapsible menu, built with `` tag to build a dropdown in HTML

Type `` tag so you can style or script it later. Inside, drop in one or more `

<select id="fruit">
  <option value="apple">Apple</option>
  <option value="banana">Banana</option>
  <option value="orange">Orange</option>
</select>

Open the page in a browser to test it—click the control and the fruit list should pop right up.

What is in the drop-down list?

A drop-down list holds a set of predefined choices tucked inside a collapsible menu

The menu only appears when someone clicks or taps the control. Each choice lives in an `

What means drop down?

As a verb, “drop down” means to fall or sink to a lower level

As a UI term, “drop-down” describes a list that appears below its trigger. In American English, hyphenate it when it’s an adjective (“drop-down menu”); use the closed form “dropdown” mostly as a noun (“click the dropdown”).

What is the benefit of a drop-down list?

Drop-down lists save space, cut down on errors, and feel instantly familiar to users

They hide dozens of options until needed, so your page stays clean. Users can’t type random text, which slashes form mistakes. Plus, the control behaves the same across browsers and operating systems—no learning curve for visitors.

How do you create a drop-down menu?

In Excel 365 (build 2406), open Data Validation to make a drop-down menu

  1. Pick the cell or cells where the list should go.
  2. Head to the ribbon, then choose DataData Validation.
  3. Set Allow to List in the dialog.
  4. Type your choices in the Source box separated by commas, or link to a sheet range. Hit OK.

You’ll now see a tiny arrow in those cells—click it to see the valid entries.

How do I create a drop-down menu in React?

Grab the latest react-select v5 (as of 2026) and drop in the Select component

  1. Spin up a fresh React project with Vite or your favorite setup.
  2. npm install react-select@5
  3. Import the component: import Select from 'react-select';
  4. Build your options as an array of objects with value and label keys.
  5. Plug it into your JSX: <Select options={options} />

react-select adds search, multi-select, and async loading out of the box—way beyond plain HTML `` element. Navigation menus styled as drop-downs often open when you hover or click a parent item.

What data type is a drop down list?

A drop-down list stores the visible text by default, but can be set to store a separate database key

In HTML forms, the `