how to make html input text allow only numeric values code example Example: html input box integer only <input type="number" name="someid" />