Código:
<select id="groupType"> <option value=""> </option> <optgroup label="Resources"> <option value="1">Intrinsic</option> <option value="2">Rare</option> </optgroup> <optgroup label="Units"> <option value="4">Ships</option> <option value="8">Light</option> <option value="16">Medium</option> <option value="32">Heavy</option> <option value="64">Ultimate weapon</option> </optgroup> </select>
Mt nice! Não sabia... :D
ResponderEliminar