Home  »  HTML   »   optgroup

optgroup stands for options group. This element can be used to group similar option tags. This tag creates a heading before the options.

label

represents a label for an option-group

  • text

HTML optgroup Example:

Edit Example