html.elements.input.type_number

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 7 on 2010-10-19 Note: Prevents users from typing non-numeric content.

In Chrome Android version 18 on 2012-06-27 Note: Prevents users from typing non-numeric content.

In Edge version 12 on 2015-07-29

In Firefox version 29 on 2014-04-29 Note: Allows users to type non-numeric content, with the value reflecting an empty string.

In Firefox for Android version 29 on 2014-04-29 Note: Allows users to type non-numeric content, with the value reflecting an empty string.

In Internet Explorer version 10 on 2012-10-26

In Quest Browser version 5.0 on undefined Note: Prevents users from typing non-numeric content.

In Opera version 15 on 2013-07-02 Note: Prevents users from typing non-numeric content.

In Opera Android version 14 on 2013-05-21 Note: Prevents users from typing non-numeric content.

In Safari version 5.1 on 2011-07-20 Note: Allows users to type non-numeric content, with the value reflecting an empty string.

In Safari on iOS version 5 on 2011-10-12 Note: Allows users to type non-numeric content, with the value reflecting an empty string.

In Samsung Internet version 1.0 on 2013-04-27 Note: Prevents users from typing non-numeric content.

In WebView Android version 4.4 on 2013-12-09 Note: Prevents users from typing non-numeric content.

In WebView on iOS version 5 on 2011-10-12 Note: Allows users to type non-numeric content, with the value reflecting an empty string.