Horje

Example

Depending on browser support: Fixed steps will apply in the input field.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>Numeric Steps</h2>

<p>Depending on browser support: Fixed steps will apply in the input field.</p>

<form action="/action_page.php">
  <label for="quantity">Quantity:</label>
  <input type="number" id="quantity" name="quantity" min="0" max="100" step="10" value="30">
  <input type="submit" value="Submit">
</form>

</body>
</html>

Output should be:

Example




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Input Types
Uploaded by:
Admin