optgroup
Option group. Defines a group of option elements in a selectform field.
Attributes
- label is used to assign a label to the option group.
Optional Attributes
- disabled can be used to disable an element. It must be used in the format disabled="disabled".
Example
<select name="catsndogs">
<optgroup label="Cats">
<option>Tiger</option>
<option>Leopard</option>
<option>Lynx</option>
</optgroup>
<optgroup label="Dogs">
<option>Grey Wolf</option>
<option>Red Fox</option>
<option>Fennec</option>
</optgroup>
</select>
Other Topics
OL ,OBJECT ,OPTGROUP ,Q ,PRE ,SCRIPT ,SAMP ,SELECT ,TBODY
,HTML : KBD ,HTML : LEGEND ,HTML : BR,CSS : Class selector,CSS : Sticky Footer Layout,CSS::STYLING FORMS, mechanical Engineering, English books,Photoshop tutorials,Harry potter,Best 100 english books,Mechanical-old-question-paper,CSS : Id Selector,Heart touching stories
No comments:
Post a Comment