摘要: js - 数据类型检测方法 通用但很繁琐的方法:prototype function dataType(val) { return Object.prototype.toString.call(val).slice(8,-1) } alert(Object.prototype.toString.ca 阅读全文
posted @ 2021-11-21 01:53 zc-lee 阅读(96) 评论(0) 推荐(1) 编辑
摘要: css 选择器 标签、类、ID选择器 请将html模块中字体内容是"红色"的字体颜色设置为"rgb(255, 0, 0)","绿色"设置为"rgb(0, 128, 0)","黑色"设置为"rgb(0, 0, 0)",且字体大小都为20px。 <html> <head> <meta charset=u 阅读全文
posted @ 2021-11-21 01:48 zc-lee 阅读(532) 评论(2) 推荐(5) 编辑
摘要: html 基本标签 表单类型 描述 请依次写出以下类型的输入框。 类型为密码,默认值为"nowcoder" 类型为复选框,且状态为已勾选 <form> <!-- 补全代码 --> <input type="password" value="nowcoder" /> <br /> <input typ 阅读全文
posted @ 2021-11-21 01:38 zc-lee 阅读(639) 评论(0) 推荐(2) 编辑