Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The input step attribute</h1>
<p>The step attribute specifies the legal number intervals for an input element.</p>
<form action="/action_page.php">
<label for="points">Points:</label>
<input type="number" id="points" name="points" step="3">
<input type="submit" value="Submit">
</form>
</body>
</html>
How is to look HTML step Attribute in input | HTML Input Attributes |
Full Code Example of HTML step Attribute in input | HTML Input Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Input Attributes |
Uploaded by: | Admin |