The input type="number" defines a numeric input field.
You can use the min and max attributes to add numeric restrictions in the input field:
هشدار: این قابلیت در internet explorer 9 و نسخه های قبل تر آن پشتیبانی نمی شود.