number
number
This page has been flagged with the following issues:
High-level issues:
Summary
The number type of the <input> element represents a widget for entering a number.
Overview Table
| DOM Interface | HTMLInputElement |
|---|
Examples
This example uses the input type=number element to create an empty number control.
<input type="number" value="" name="numbox">
Notes
Remarks
The size and maxlength attributes are considered obsolete, but conform under the HTML5 specification. Note For code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.1.13
Members
The input type=number object has these types of members:
- [#properties Properties]
Properties
The input type=number object has these properties. {
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic Support | 7 | Unsupported | 10 | 9 |
5.0 |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic Support | ? | ? | Supported (when?) | ? | 10 | ? | ? | Supported (when?) |
See also
External resources
Related pages (MSDN)
Referenceinput
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here