H85 (Pass): Using OPTGROUP to group OPTION elements inside a SELECT

HTML Snippet Code
Scenario 1: Option group is used for the options
<label for="options">Select your favorite car</label> <select class="selectpicker" id="options"> <optgroup label="Sports cars"> <option value="ferrari">Ferrari</option> <option value="lamborghini">Lamborghini</option> </optgroup> <optgroup label="Luxury cars"> <option value="mercedes">Mercedes</option> <option value="bentley">Bentley</option> </optgroup> </select>