ptg16476052
Creating Form Controls with the <input> Tag 331
12
Input ▼
Some browsers display a date picker automatically, as you see in Figure 12.9.
Output ▼
The last two types allow you to specify color values and search terms. Browsers that
support the color type will display a color picker, and browsers that support the search
type change the way the form control displays—adding rounded corners and sometimes a
search icon inside the control. You add them the same way you add other input types:
Input ▼
Figure 12.10 demonstrates how Chrome displays the color picker and search control.
FIGURE 12.9
A date input type.