HTML5 Form Example - types of input fields


New form elements

Some of the new form elements are provided in the example below. These include:

    • new input types (try this page out on an Android phone and note what happens when you choose a given field). These types include: email, url, number, and tel. I have tried to include the majority of new input types on this page. Obviously, some will not work in some browsers. Test this page in multiple browsers.
    • For this example, I am also using the Webforms2.0 JS library. This should provide increased support for older browsers (for example Internet Explorer).

Example form (no information is collected)

Contact details