limanza

max :

The min and max attributes specify the minimum and maximum value for an element. The min and max attributes work with the following input types: number, range, date, datetime, datetime-local, month, time and week.

Example
<form >
     <input type="number" max="10" >
    <input type="submit" value="Send">
</form>
code

output

 

Copyright 2014. All rights reserved.