<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
<style type="text/css">
h2{
color:red;
}
.one{
color: green;
}
.two{
color: blue;
}
#first{
font-size: 40px;
}
#second{
font-size: 80px;
}
</style>
</head>
<body>
<div id = "first">/*标记选择器*/
<h2>hello</h2>
<h1 class = "one">hello</h1>/*类别选择器*/
<h1 class = "two">hello</h1>
</div>
<div id = "second">
/*标记选择器*/
<h2>hello</h2>
<h1 class = "one">hello</h1>/*类别选择器*/
<h1 class = "two">hello</h1>
</div>
</body>
</html>
<html xmlns="http:www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
<style type="text/css">
h2{
color:red;
}
.one{
color: green;
}
.two{
color: blue;
}
#first{
font-size: 40px;
}
#second{
font-size: 80px;
}
</style>
</head>
<body>
<div id = "first">/*标记选择器*/
<h2>hello</h2>
<h1 class = "one">hello</h1>/*类别选择器*/
<h1 class = "two">hello</h1>
</div>
<div id = "second">
/*标记选择器*/
<h2>hello</h2>
<h1 class = "one">hello</h1>/*类别选择器*/
<h1 class = "two">hello</h1>
</div>
</body>
</html>