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