Optgroup Example. A disabled option-group.
Example:
HTML
<select>
<optgroup label="German Cars" disabled>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</optgroup>
</select>
How to add A disabled button | HTML Attribute |
How to Disable a group of related form elements | HTML Attribute |
How to add An HTML form with a disabled input field | HTML Attribute |
How to add A disabled option-group | HTML Attribute |
How to add A drop-down list with one disabled option | HTML Attribute |
How to add A disabled drop-down list | HTML Attribute |
How to add A disabled text area: | HTML Attribute |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |