0
Question
Can someone please explain what step attribute means in an input tag
2 Answers
+ 1
In <input type="number">, did you noticed that they are some icons in the right to increment and decrement, the step attributes defines how many numbers to increment or decrement when clicking them
0
If you work on a computer, try this html : <input type="number"><br><input type="number" step="2"> and you will understand