Una Kravets 10/23/2023

Select element: now with horizontal rules

Read Original

The article announces a new feature in Chrome 119 and Safari 17 that allows developers to insert <hr> (horizontal rule) elements as visual separators within a standard HTML select dropdown. This provides a native way to group and visually break up long lists of options for better usability, with a provided code example. It also references future form control improvements like the popover API and selectlist element.

Select element: now with horizontal rules

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet