当前位置:Gxlcms > html代码 > 为什么总是看不到效果?_html/css_WEB-ITnose

为什么总是看不到效果?_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:19人阅读

  1. <title>This is a test!</title>
  2. <div class="blue">
  3. What's happen?</div>
  4. <div class="red"> You are so beautiful!!!</div>

  1. div.blue {color:blue}div.red {color:red}


html文件和css在同一个目录下面,但字的颜色总是黑色的。哪里错了?


回复讨论(解决方案)



ref 改为 rel

rel 是 relation的 缩写

人气教程排行