用纯html标签实现颜色选取控件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/WinstonLau/article/details/88543405
  • 控件的样式可能和浏览器以及操作系统有关
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>input标签的type等于color</title>
</head>
<body>
    请选择一个颜色:<input type="color">
</body>
</html>

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/WinstonLau/article/details/88543405