案例:CSS案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<style type="text/css">
4
.important {color:red;}
5
</style>
6
</head>
7
8
<body>
9
<h1 class="important">This heading is very important.</h1>
10
11
<p class="important">This paragraph is very important.</p>
12
13
<p>This is a paragraph.</p>
14
15
<p>This is a paragraph.</p>
16
17
<p>This is a paragraph.</p>
18
19
<p>...</p>
20
</body>
21
</html>
22