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