The select element gets a small but mighty upgrade in Chrome 119, with a feature that also landed in Safari 17. Now, you can add hr (horizontal rule) elements into the list of select options and they will appear as separators to help visually break up the options for a better user experience.

Source: Select element: now with horizontal rules

Seems obvious in retrospect. Via Jim Nielsen.