how to only allow integers to be typed into a form html code example Example: html5 number integer <input type="number" step="1" />