Number Field

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:

Quantity (between 1 and 5):

هشدار: این قابلیت در internet explorer 9 و نسخه های قبل تر آن پشتیبانی نمی شود.