Example of <input type=number> :

Try to change the different values for attributes step, max, min, value, dont't forget to try step="any" for float values...