<style type="text/css">
span{
text-decoration:line-through;
color: grey
}
input[type="text"]:disabled{
cursor: not-allowed;
}
</style>
<span>用户名:</span><input type="text" disabled>
textarea 有resize属性为none就不可以拉动
H5新增加的表单 如url email 验证要加上required
选择器
vaild/invaild 合法与不合法
enable/disable 不禁用与禁用
in-range/out-of-range 范围内/不在范围内
read-only/read-write 只读/可编辑
required / optional 必填和选填
empty 选择空的字符
contenteditable属性 使得div、p标签可以编辑
root 选择器 选择跟节点