HTML5 Form Example (for IE)


This page should display reasonably well in current versions of Internet Explorer (for example, IE 8). View the source code and you will note a link to some JavaScript created by Remy Sharp which first creates an example of each element. Once those elements are in the DOM, they can have style applied by IE.

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.
    • new attribute - placeholder

Example form (no information is collected)

Contact details