一、行内式
<h1 style=”color:red”><h1>
二、内嵌式
<style type=”text/Css”>
<!- -
H1
{...} {
Color:red;
}
-- >
</style>
<!- -
H1
{...} {
Color:red;
}
-- >
</style>
三、链接式
<link href=”1.css” type=”text/css” rel=”stylesheet”>
四、导入式
<style type=”text/css”>
<!- -
@inport url(1.css);
- ->
</style>
<!- -
@inport url(1.css);
- ->
</style>