← Back to Tag Glossary

<optgroup>

Forms & Interactive

Groups nested options inside a drop-down selection menu under a header title.

Common Attributes

  • label Configures the element's custom label parameter.
  • disabled Configures the element's custom disabled parameter.
interactive-example.html
Live Preview