Home  »  HTML   »   option

They provide predefined values for the select tag. The selection box element gives a list of values to be selected. We can select one or multiple values by the type of select element

disabled

represents an option should be disabled.

  • none
label

represents a label of an option

  • text
selected

represents an option that is already selected when the page loads.

  • none
value

represents the value of an option.

  • text

HTML Option Example:

Edit Example