01 2019 档案

摘要:并集选择器 多个选择器通过逗号连接而成,同时声明多个风格相同样式 p,h1{ color:red; } 交集选择器 由两个选择器连接构成,选中二者范围的交集,两个选择器之间不能有空格,第一个必须是标签选择器,第二个必须是类选择器和ID选择器 /*标签选择器+类选择器,标签选择器+ID选择器*/ 作用 阅读全文
posted @ 2019-01-31 21:14 大湿兄显灵通 阅读(122) 评论(0) 推荐(0)
摘要:表单的基本结构 <form method="post" action="result.html"> <p> <input type="submit" name="button" value="提交"> <input type="reset" name="reset" value="重填"> </p> 阅读全文
posted @ 2019-01-31 13:36 大湿兄显灵通 阅读(271) 评论(0) 推荐(0)
摘要:表格的基本结构 <table> <tr> <td> </td> </tr> </table> 表格的跨行和跨列 <td rowspan="2">跨行</td> <td colspan="3">跨列</td> 阅读全文
posted @ 2019-01-31 13:27 大湿兄显灵通 阅读(98) 评论(0) 推荐(0)
摘要:列表 有序列表 ol 无序列表 ul 自定义列表 dl <ol> <li></li> <li></li> </ol> <ul> <li></li> <li></li> </ul> <dl> <dt></dt> <dd></dd> </dl> 注意: li{ height:30px; line-hei 阅读全文
posted @ 2019-01-31 11:07 大湿兄显灵通 阅读(69) 评论(0) 推荐(0)
摘要:基本标签: <h1>~<h6>标题 <em></em>斜体 <strong></strong>粗体 <p></p>段落 <br/>换行 <hr/>水平线 <img src="图片路径" alt="替换文本" title="鼠标画上去的显示内容" width="x" height="y"/> <a h 阅读全文
posted @ 2019-01-02 14:16 大湿兄显灵通 阅读(133) 评论(0) 推荐(0)
摘要:CSS基本样式 注意: 字体样式 font-family 字体类型 font-family:“隶书”; font-size 字体大小 font-size:12px; font-style 字体风格 font-style:italic; font-weight 字体粗细 font-weight:bol 阅读全文
posted @ 2019-01-02 13:11 大湿兄显灵通 阅读(144) 评论(0) 推荐(0)