<!DOCTYPE html> <html> <body> <select size="7"> <optgroup id="ogone" label="opt group 1" style="color:green" disabled="disabled"> <option id="one" style="color:green">Should be no red</option> <option id="two" style="color:green">Should be no red</option> </optgroup> <optgroup id="ogtwo" label="opt group 2" style="color:blue"> <option id=three style="color:blue">Should be no red</option> <option id=four style="color:blue">Should be no red</option> </optgroup> </select> </body> </html>