Use of the min and max attributes. Definition and UsageThe Tip: Use the Note: The Browser SupportThe numbers in the table specify the first browser version that fully supports the attribute. Syntax<input min="number|date"> Attribute Values
|
Example:
HTML
<label for="quantity">Quantity (between 1 and 5):</label>
<input type="number" id="quantity" name="quantity" min="1" max="5">
Read Full:: | HTML Tag Code |
Category: | HTML Code |
Sub Category: | HTML Tag Code |
Uploaded: | 1 month ago |
Uploaded by: | Admin |
Views: | 153 |