spec checked

MDN input type number

Documents HTML number input value behavior, required, min, max, step, automatic numeric invalidation, lack of pattern support, browser validation limits, and the need for server-side validation.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Spinbutton / numeric stepper Choose a spinbutton for one bounded numeric value that changes in predictable increments. Increment and decrement controls change the value by the declared step and stop at the lower and upper bounds. MDN documents native number-input min, max, step, required, automatic numeric invalidation, unsupported pattern matching, and server-side validation needs.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: MDN Web Docs. Last checked: .