HTML and CSS Reference
In-Depth Information
week
no
time
no
email
yes
number
yes
range
no
search
no
tel
yes
url
no
As you can see, the only field types currently supported by Android Browser are
email, number, and tel. The other field types should be implemented at some
point in the future. You can choose to implement them now and work around
the lack of support, but you could experience issues after support finally arrives.
You can test this out on your device by creating a new folder for this exercise
within your project called forms. Create a new file within that called index.html .
Listing 3-25 shows the code that will produce the three different input form
types.
Listing 3-25. Input Type Code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Form Fields</title>
<meta name="viewport" content="width=device-width, initial-scale=1,
maximum-scale=1">
</head>
<body>
<form>
<fieldset>
<legend>HTML5 Input Types</legend>
Search WWH ::




Custom Search