This page tests the new input values of HTML5 in mobile browsers.
See also the desktop table.
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||
<input type="color">Test page |
11.5 | No | PB2 | No | Buggy | No | ||||||||||||||||||
|
Shows a color wheel or similar interface.
|
||||||||||||||||||||||||
<datalist>Test page |
Yes | No | Yes | No | ||||||||||||||||||||
<input list="ppk" name="list" /> <datalist id="ppk"> <option label="ppk" value="ppk"></option> <option label="JavaScript" value="JavaScript"></option> </datalist> Shows the listed values as a suggestion/autocomplete box. Users can type in an alternative value, though. |
||||||||||||||||||||||||
<input type="date"><input type="datetime"><input type="time"><input type="month"><input type="week">Test page |
Almost | 5.0 | No | Almost | No | Buggy | Minimal | No | ||||||||||||||||
|
||||||||||||||||||||||||
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||
<input type="email">Test page |
Yes | Minimal | No | OS6 | No | Fairly minimal | No | |||||||||||||||||
|
Value is automatically validated as an email address, and if it’s invalid form submission is halted.
|
||||||||||||||||||||||||
<input type="number">Test page |
Incom |
5.0 | buggy | No | Yes | No | Almost | Yes | Minimal | No | ||||||||||||||
|
||||||||||||||||||||||||
<input type="range">Test page |
Yes | 5.0 | Buggy | No | Yes | No | Yes | Buggy | No | |||||||||||||||
|
Shows a slider. On touchscreen phones you have to tap; not slide. Except on iOS, where you first have to tap the slider button and then you can slide it. This interaction is not up to Apple’s usual high standards.
|
||||||||||||||||||||||||
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||
<input type="tel">Test page |
No | Minimal | No | Minimal | No | Minimal | Buggy | Minimal | No | |||||||||||||||
|
The spec says this type should do nothing special. Browsers assidiously comply. But some sort of validation would be possible here, right?
|
||||||||||||||||||||||||
<input type="url">Test page |
Prob |
Minimal | No | OS6 | No | Buggy | Fairly minimal | No | ||||||||||||||||
|
Value is automatically validated as a URL, and if it’s invalid form submission is halted. Problem is: what is actually a URL? I’ve heard people say that
|
||||||||||||||||||||||||
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||
autofocusTest page |
No | No | 3.2 | No | Yes | No | Yes | No | ||||||||||||||||
<input type="text" autofocus> The browser automatically focuses on this field when the page is loading but does not pop up the software keyboard. Actually this is the best possible implementation on pure touchscreen devices — if you want to implement it at all. |
||||||||||||||||||||||||
multipleTest page |
No | Untest |
No | Untest |
No | Untest |
||||||||||||||||||
<input type="file" multiple> Allows users to upload multiple files at once. One problem on mobile is that the interface is not suited for selecting more than one file at a time. |
||||||||||||||||||||||||
patternTest page |
Yes | No | OS6 | No | Fairly minimal | No | ||||||||||||||||||
<input pattern="[0-9]{4}[ ]?[A-Z]{2}" />
The value must conform to the regexp pattern, or submission is halted.
|
||||||||||||||||||||||||
placeholderTest page |
11.5 | Yes | No | Yes | Yes | No | ||||||||||||||||||
<input type="text" placeholder="Some text"> The placeholder text is shown as long as the field is unfocused and the user has not entered another value. Firefox doesn’t allow use of the Backspace in form fields, so I cannot complete this test (removing value and seeing if placeholder reappears). |
||||||||||||||||||||||||
readonlyTest page |
Yes | Yes | Yes | |||||||||||||||||||||
<input type="number" readonly> User cannot enter a value in the form field. |
||||||||||||||||||||||||
requiredTest page |
Yes | No | OS6 | No | No | |||||||||||||||||||
<input type="text" required> Form submission is halted if a required field does not have a value.
|
||||||||||||||||||||||||
stepTest page |
Yes | No | OS6 | No | No | |||||||||||||||||||
<input type="number" step="3">
|
||||||||||||||||||||||||
| Property | Opera Mobile | Safari | Android | Symbian | S40 | Dolfin | Black |
Palm | Obigo | MeeGo | UC | Firefox | IE Mobile | |||||||||||
| Presto | WebKit | Gecko | Trident | |||||||||||||||||||||