求教大神为什么第一行显示不出颜色?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>选择器的使用</title>
<style type="text/css">
.myclass{
color: red;
}
#blue{
color: blue;
}
#green{
color: green;
}
p{
color: purple;
}
</style>
</head>
<body>
<h3 class="red">我是标题3里面的文字</h3>
<div id="blue">我是div1里面的文字</div>
<div id="green">我是div2里面的文字</div>
<p>我是P里面的文字</p>
</body>
</html>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1282/viewspace-3155275/ ,如需转载,请注明出处,否则将追究法律责任。