Categorize long lists
optgroup
The optgroup element provides a way to break a long list of options into smaller distinguishable sub-lists.
Properties
- label
- Put the descriptive label to display to the user in a "label" attribute.
The optgroup element provides a way to break a long list of options into smaller distinguishable sub-lists.