1、style标签
<head>
<style type="text/css">
p{
color:red;
font-size:40px;
}
</style>
</head>
2、link标签
把当前目录下的style.css样式文件导入
<link rel="stylesheet" type="text/css" href="css/style.css" />
css目录下style.css:
p{
color:red;
font-size:40px;
}