HTML5 Form Example - required attribute


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

If you would like to view this page comparably in Internet Explorer (currently IE 8), there are some hacks required. Here is a page which employs those hacks.

Example form (no information is collected)

Contact details