HTML and CSS Reference
In-Depth Information
time
url
week
The following <input> elements show a few of these HTML5 type attribute values in
use; Figures 10.2 through 10.7 show how these unique values may look within iOS. Notice
how the different values provide different controls, all of which make gathering input from
users easier.
Click here to view code image
1. <input type="date" name="birthday">
2. <input type="time" name="game-time">
3. <input type="email" name="email-address">
4. <input type="url" name="website">
5. <input type="number" name="cost">
6. <input type="tel" name="phone-number">
Figure 10.2 iOS7 controls for an <input> element with a type attribute value of
date
Search WWH ::




Custom Search