HTML 5 Tutorials
Html5 What isIn the step attribute is used to indicate legal number intervals for the input type field. which is restrict number or date or date pickers or range for input field types.If the example step = "5" in the Legal number are -5,0,5,10,15 etc...
In the above input type is a number and you can enter a number minimum 0 and maximum 10 and restricted step is 5 which means you can enter -5 ,0 , 5,10 ,15.
|
Tweet |
|
|