The file input type creates a field through which users can upload files from their local computer or network. As the use of smartphones and their on-screen keyboards has flourished, however, inputs have taken on a new and incredibly important role â but theyâre also riddled with browser and device inconsistencies. In particular we will see how forms can be enhanced with the additional input types offered by HTML5, and show what you can expect across various classes of mobile browser. Prior to HTML5 there were only few input types which we could have used. Letâs have a look at the different types of input text controls. as input and only numbers. Both accomplish the same thing, albeit using slightly different User Interfaces (UI). The tag is written as (no end tag). Input Types for HTML Forms. Thus entering a float number by Numpad would not work as the input field expects a . This article will focus on a couple of new HTML5 elements that facilitate the inputting of numeric data: the number and range input types. Forms are enclosed in the HTML