css:层叠样式表
一、css三种引入方式
具体使用方法:
1.内嵌式(style标签写在head标签内)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
p{
color:green;
font-size: 50px;
background-color: pink;
}
</style>
</head>
<body>
<p>我爱前端开发</p>
</body>
</html>