HTML 5 Number Input type control allows user to increase or decrease the value of the textbox by clicking on up or down arrow buttons. As of today, only Chrome 13 and Safari 5 support this feature.
<!DOCTYPE html>
<html>
<head>
<title>Testing HTML 5 Number Input Type</title>
</head>
<body>
<form>
<label for="date">
Please enter date:
<input type="number" name="date" id="date"
min="1" max="31" step="1" value="15">
</label>
</form>
</body>
</html
No comments:
Post a Comment