How to use input type number to input a number between min and max with steps in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>
  
<form action="save.php"> <!-- Note: 404 That page (save.php) doesn't exist -->
  Choose a number:
  <input type="number" name="thenumber" min="0" max="10" step="2">
  <input type="submit">
</form>
  
</body>
</html>

 



answered Jan 3, 2019 by avibootz
...