html:
(1) 会在页面显示实时选择颜色,但Ie不支持
(2)会有输入邮箱地址的输入框,在submit提交时,会检查地址格式,如果不对,会报错
(3) 文本框 type=”reset”>一键还原为value值
(4)type后有readonly,只读
(5)type后有disabled,不可用
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="target.html">
<input type="color">
<br><br>
<input type="email">
<input type="submit" value="提交">
<input type="reset" value="重置">
<input type="text" value="康楚明" readonly>
<input type="text" value="康钦杰" disabled>
</form>
</body>
</html>