Can the native HTML element select be used to add submenus?
- Processes
- lack of process
- failure to follow process
HTML
<!DOCTYPE html>
<html>
<body>
<select>
<optgroup label="Swedish Cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</optgroup>
<optgroup label="German Cars">
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</optgroup>
</select>
</body>
</html>
The code above only allows for defining sub-sections, but is there a way to create separate menus UI within the parent UI? Any suggestions on how this can be achieved would be greatly appreciated.
Thank you.