Html5 number Tag

Html5 input number is a number field type attribute. which can use for a number format to user input.The number type text box does support number format only.

Example Code

<input type="number" name="number_box" min="0" max="10" step="1" value="2">

Out Put :

In the above example code min is a minimum number for text box number field and max is a maximum for a number field and value is a number format values.

Screen Shot :