html form input number code example
Example 1: form with number input html
<input id="number" type="number" value="42">
Example 2: html input box integer only
<input type="number" name="someid" />
<input id="number" type="number" value="42">
<input type="number" name="someid" />