<option>

noun

say it: “OP-shun” /ˈɑːpʃən/

The HTML element for one choice in a dropdown or a suggestion list; its value is sent, and its text is what the visitor sees.

What is <option>?

<option> — The element representing one choice in a select control or datalist.

In a sentence

  • “Each drink in the dropdown is an option, such as one showing Oat milk latte that sends oat-latte.”
  • “I added selected to the option for Small so it's picked first.”

Level: Apprentice · More HTML terms at this level

Updated