1:把css代码直接添加到标签中。
<p style="color:red">.....</p>
2:把css代码添加到里的
<head>
<title>.........</title>
<style type="text/css">
P{color:red;}
</style>
</head>
3:链接外部样式表文件
> <link href="css/css.css" rel="stylesheet" type="text/css" />
1:把css代码直接添加到标签中。
<p style="color:red">.....</p>
2:把css代码添加到里的
<head>
<title>.........</title>
<style type="text/css">
P{color:red;}
</style>
</head>
3:链接外部样式表文件
> <link href="css/css.css" rel="stylesheet" type="text/css" />