number
Summary
The number type of the <input> element represents a widget for entering a number.
Overview Table
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. {
See also
External resources
Related pages
Reference
input
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]