html 标签释义

position 位置 给....定位 作用:定位

position:fixed 锁定游览器位置 如右下角弹窗

absolute 绝对定位 游览器左上角 position:absolute

relative 相对定位 随动 position:relative

static 静态修饰符

list-style:列表样式 none

border-left:10px solid #f60 左边是10像素的。。。色实线

font-weight:bold 加粗

<style type="text/css"></style> 这是样式表,在中间放入css内容

margin和padding是在html中的盒模型的基础上出现的,margin是盒子的外边距,即盒子与盒子之间的距离,而pdding是内边距,是盒子的边与盒子内部元素的距离

:hover 选择器用于选择鼠标指针浮动在上面的元素

:link 选择器设置指向未被访问页面的链接的样式,:visited 选择器用于设置指向已被访问的页面的链接,:active 选择器用于活动链接。

text-decoration 规定添加到文本的修饰 text-decoration :none 去除下划线 text-decoration 下划线

margin:0 auto margin后面如果只有两个参数的话,第一个表示top和bottom,第二个表示left和right

因为0 auto,表示上下边界为0,左右则根据宽度自适应相同值(即居中)

line-height 属性设置行间的距离(行高)

background:url() no-repeat 0 center 背景图片垂直居中 background:url() no-repeat center 0 背景图片水平居中

float left 向左浮动

text-align 属性规定元素中的文本的水平对齐方式

display:inline 此元素会被显示为内联元素,元素前后没有换行符 display 属性规定元素应该生成的框的类型

white-space 属性规定元素应该生成的框的类型 white-space:nowrap 文本不会换行,文本会在在同一行上继续,直到遇到 <br> 标签为止

                        white-space:normal 空白会被浏览器忽略