how to make input only take integer with range html code example Example: html5 number integer <input type="number" step="1" />