How to use the step attribute to specify the interval between the values of input type number in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>

<form action="">
 <input type="number" name="basketball" step="2">
 <input type="submit">
</form>

</body>
</html>

 



answered Jan 8, 2019 by avibootz
...