type=number html 5 code example Example: html input box integer only <input type="number" name="someid" />