标签选择器的语法

标签选择器{

  属性:属性值

}

<html>
<head>
<meta http-equiv="Contene-Type" content="text/html;charset=gb2312"/>
<title>标题选择器</title>
<style>
h3{
 color:#090;  
}
</style>
</head>
<body>
 <h3>北京欢迎你</h3>
</body>
</html>
代码示例如下

 

posted @ 2017-05-17 20:44  顶起脚尖仰望  Views(695)  Comments(0)    收藏  举报