htmlcss

The HTML <option></option> element is used to create a control representing an option of a <select>, <optgroup>, or <datalist> element. In other words, it defines an option in a selected list.


Attributes


HTML example:

<select>
      <option>Red</option>
      <option>Blue</option>
</select>