input only numbers from range to 0 to 10 code example Example: html input box integer only <input type="number" name="someid" />