为什么的CSS设置没有作用??
城堡下的诡洞
城堡下的诡洞 2016-12-21 16:11:10
0
2
908
<!DOCTYPE HTML>
<HTML>
<head>
<meta charset="utf-8">
<title>代码练习4</title>
<style type="text/css">
p    {font-size:16px
      font-weight:bold
      color:yellow
      }
</style>
</head>
<body>
   <h1>标题</h1>
   <p id="a">代码练习。</p>
   
</body>
</html>


城堡下的诡洞
城堡下的诡洞

reply all(2)
数据分析师

Why does the CSS setting have no effect? ? -PHP Chinese website Q&A-Why does the CSS setting have no effect? ? -PHP Chinese website Q&A

Please watch and learn.

迷茫
<style type="text/css">
p{font-size:16px
      font-weight:bold
      color:yellow
      }
</style>

注意每次写完要加上分号

<style type="text/css">
p{
      font-size:16px;
      font-weight:bold;
      color:yellow;
      }
</style


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template