案例:CSS案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<style type="text/css">
4
body {font-size:100%;}
5
h1 {font-size:3.75em;}
6
h2 {font-size:2.5em;}
7
p {font-size:0.875em;}
8
</style>
9
</head>
10
11
<body>
12
<h1>This is heading 1</h1>
13
<h2>This is heading 2</h2>
14
<p>This is a paragraph.</p>
15
<p>This is a paragraph.</p>
16
<p>...</p>
17
</body>
18
</html>
19