[size=large][b]使用css样式表的3种方式[/b][/size]
1.嵌入式样式表
2.链接式样式表
3.引入式样式表
1.嵌入式样式表
<style type="text/css">
p{color: red;}
</style>
2.链接式样式表
<link href="index.css" type="text/css" rel="stylesheet" />
3.引入式样式表
<style type="text/css">
@IMPORT url("index.css");
</style>