HTML and CSS Reference
In-Depth Information
and prohibit form submission if the value is not valid, as shown in Figures
3-16
and
3-17
.
If a user agent does not support the
color
input type, it will display a text input field
instead.
For details on browser support of the
color
input type, see
Table 3-6
.
Table 3-6. Browser support for the color input type
IE
Firefox
Chrome
Safari
Opera
iOS
Android
-
-
10+
5.0+
11.0+ ✓✓
For tips on delivering a more consistent cross-browser experience, see
Recipe 3.13
.
See Also
“Octothorpe” is a good word and bears repeated mention in polite company; see
http:
Figure 3-16. The color input type in Opera 11.5












