Articles → HTML 5 → Color Input Element In Html5
Color Input Element In Html5
Purpose
Syntax
Example
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<input type="color" />
</body>
</html>
Try It
Output
Click to Enlarge
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
38.0 | 29.0 | 20.0 | 10.1 | 11.01 | Yes |
Video