1、修饰HTML页面
2、使用CSS样式的方式:有三种
(1)内联样式:如:
<div sty1e="width : 300px; height:300px; background-color: #CCFFFF; display:block;">
</div>
(2)样式块:
id选择器:# id值{
}
标签选择器:标签名{
}
类选择器:.类名{
}
(3)引入css文件:
在head标签内引入
如:<link rel=”stylesheet” type=”text/css” href=”css/01.css”>
3、
text-decoration:underline、none
cursor:pointer
text-decoration:更改文本是否有下划线
cursor:更改鼠标样式,其中pointer和hand都是小手,hand有兼容性问题
4、列表样式: list-style-type
5、定位:position
等等…