The best HTML <optgroup> tag Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Tag definitions and instructions,HTML 4.01 and HTML5 differences in,Attributes,Global Properties,Event Properties,
By <optgroup> tag of the related options together:
Most major browsers support <optgroup> tag.
<Optgroup> tag is often used for the related options together.
If you have a lot of combinations of options, you can use <optgroup> tag can be very simple to related options together.
no.
属性 | 值 | 描述 |
---|---|---|
disabled | disabled | 规定禁用该选项组。 |
label | text | 为选项组规定描述。 |
<optgroup> tag supports the global attributes, view complete the property sheet HTML Global Attributes .
<optgroup> tag supports all HTML event attributes .