<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- 方式二 -->
<style>
/* p标签选择 */
p{
color: yellow;
font-size: 25px;
font-weight: bold;
}
</style>
<!-- 方式三:外部式 连接式 rel:引入文件和当前文件的关系 -->
<link rel="stylesheet" type="text/css" href="css/CSS_1.css">
<!-- <style>
/* 方式四:导入样式(了解即可) */
@import url("css/CSS_1.css");
</style> -->
</head>
<body>
<!-- 方式一:行内样式 键:值 -->
<p style="color:red">我们不一样</p>
<!-- 方式二:style内嵌式 -->
<!-- <p>我们不一样</p>
<p>我们不一样</p> -->
<!-- <p style="colot:red">我们不一样</p> -->
</body>
</html>
<!-- css中的引入方式的优先级:就近原则 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<p>我们不一样</p>
<p>我们不一样</p>
<p>我们不一样</p>
</body>
</html>
p{
/*字体风格*/
font-family: 宋体;
/*字体样式 斜体*/
font-style: italic;
color: green;
}