The OPTGROUP tag is used to create nested and cascading drop-down lists. In both type of lists, the related items are grouped under specific headings.

Attributes of the OPTGROUP tag

The following table describes the various attributes of the OPTGROUP tag.

Attribute Description
label Refers to the heading of the several groups in the cascading menu
disabled Disables the OPTGROUP tag

HTML Online Test

« Previous Tutorial Next Tutorial »

Like/Share Us on Facebook 😋