摘要: style 修饰width 宽度height 高度title 想说明的text-align 水平对齐方式center 居中 left 居左 right 居右line-height 垂直对齐方式/行高 当行高等于高度时候垂直居中background 背景image 引入背景图片(url)backgro 阅读全文
posted @ 2019-03-21 22:16 代码狂魔2019 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: <!>字体效果 <h1>...</h1>标题字(最大) <h6>...</h6>标题字(最小) <b>...</b>粗体字 <strong>...</strong>粗体字(强调) <i>...</i>斜体字 <em>...</em>斜体字(强调) <dfn>...</dfn>斜体字(表示定义) <u 阅读全文
posted @ 2019-03-21 22:11 代码狂魔2019 阅读(2756) 评论(0) 推荐(0) 编辑
摘要: html <body> <div class="box1"> <div></div> <div></div> </div> <!-- 设置2个盒子 --> <div class="box2"> <a href="#">首页</a> <a href="#">新闻中心</a> <a href="#">新 阅读全文
posted @ 2019-03-21 21:18 代码狂魔2019 阅读(597) 评论(0) 推荐(0) 编辑