The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.
This article is Not Ready.
Specify the increment for
input with types
input type="date", or
input type="number" is specified, the default increment from
max is 1. Override this default with a value in
A slider with a range from 1-12 that increments by 3.
<input type="range" min="1" max="24" step="3" />
A form input for a number between 0 and 15 that increments by 3.
<input type="number" min="0" max="15" step="3" />
Restricting time input to half-hours.
<input type="time" step="1800" />
* when used for
input type="time", value must be in seconds
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 22.214.171.124.11
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Mozilla Developer Network : Article
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This content was originally published on DevOpera, Opera's Developer Network. .