1、新建文件创建标记选择器

2、效果

3、创建类别选择器

4、效果

5、创建ID选择器

6、效果

7、附上源码
<style>
h1{color:red;}
.class{width:100px; height:100px; background:#903; margin-top:20px;}
#id{width:100px; height:100px; background:#06F; margin-top:20px;}
</style>
<body>
<h1>标记选择器</h1>
<div class="class">类别选择器</div>
<div id="id">ID选择器</div>
</body>
