HTML and CSS Reference
In-Depth Information
Figure 5-7.
Opera showing a pop-up calendar
Note that you can also use the
min
and
max
attributes for dates to restrict the date selection to a
particular date range.
Colors
An input type of
color
allows you to specify a color value. Recollect the pie chart canvas application you
developed in Chapter 4. In that case, you specified sector colors in a plain text box. If your browser
supports the
color
input type, it can prompt you with a color picker, making your job easy. Figure 5-8
shows how Opera displays a
color
input type.
Figure 5-8.
Color picker in Opera