Baseline Widely HTML
html.elements.input.type_number
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
HTML
Standard track
First Core Launch
Chrome 7
2010-10-19
Core-3 Stability
1,288d (3.5y)
Last: Firefox (2014-04-29)
Baseline Feature
Widely
<input type="number">
Browser Support Timeline
Notes (2)
Chrome, Chr And, WV And, Samsung, Opera, Op And, Quest: Prevents users from typing non-numeric content.Firefox, Safari, FF And, Saf iOS, WV iOS: Allows users to type non-numeric content, with thevalue reflecting an empty string.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 7 | 2010-10-19 | Supported |
| Firefox | desktop | 29 | 2014-04-29 | Supported |
| Safari | desktop | 5.1 | 2011-07-20 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 29 | 2014-04-29 | Supported |
| Safari on iOS | mobile | 5 | 2011-10-12 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 5 | 2011-10-12 | Supported |
| Samsung Browser | mobile | 1.0 | 2013-04-27 | Supported |
| Opera | desktop | 15 | 2013-07-02 | Supported |
| Opera Android | mobile | 14 | 2013-05-21 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | 10 | 2012-10-26 | Supported |