<select>: The HTML Select element
Read More at MDN DocsView SpecSafe to Use
<select>: The HTML Select element
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
Full Support
Historically, Firefox has allowed keyboard and mouse events to bubble up from the <option>
element to the parent <select>
element, although this behavior is inconsistent across many browsers. For better Web compatibility (and for technical reasons), when Firefox is in multi-process mode the <select>
element is displayed as a drop-down list. The behavior is unchanged if the <select>
is presented inline and it has either the multiple attribute defined or a size attribute set to more than 1. Rather than watching <option>
elements for events, you should watch for change events on <select>
. See bug 1090602 for details.
Full Support
Firefox for Android, by default, sets a background-image
gradient on all <select multiple>
elements. This can be disabled using background-image: none
.
Full Support
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
Full Support
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.
Full Support
In the Browser app for Android 4.1 (and possibly later versions), there is a bug where the menu indicator triangle on the side of a <select>
will not be displayed if a background
, border
, or border-radius
style is applied to the <select>
.
border-radius
on <select>
elements is ignored unless -webkit-appearance
is overridden to an appropriate value.