<optgroup>

noun

say it: “OP-shun groop” /ˈɑːpʃən ɡruːp/ or “OPT-groop” /ˈɑːptɡruːp/

The HTML element that puts dropdown choices under a heading, so a long list is split into labeled sections.

What is <optgroup>?

<optgroup> — The element that groups related options inside a select control.

In a sentence

  • “An optgroup heading can't be picked; only the choices under it can.”
  • “The drinks dropdown has an optgroup for Hot drinks and another for Iced drinks.”

Level: Apprentice · More HTML terms at this level

Updated