How to make grouped select lists with pure HTML

Many devs don’t know you can group elements in dropdowns without custom libraries but.. you can easily do this using the optgroup tag

Leave a Reply

Your email address will not be published. Required fields are marked *