<!DOCTYPE html>
<html lang="en-US">
<body>
<select>
<optgroup label="Fruits">
<option>Apple</option>
<option>Banana</option>
</optgroup>
<optgroup label="Vegetables">
<option>Capsicum</option>
<option>Cauliflower</option>
</optgroup>
</select>
</body>
</html>