1 | <html>
|
---|
2 | <style>
|
---|
3 | <!--
|
---|
4 | body {font-size:12pt;text-indent:3em}
|
---|
5 | .title {margin:2em 2em;border:1px dashed #F1F8FD;width:50%;text-decoration:line-throught}
|
---|
6 | div {line-height:120%;font-size:10pt}
|
---|
7 | .EM {color:rgb(128,0,0)}
|
---|
8 | H1 {font-size:15pt}
|
---|
9 | p em {color:red}
|
---|
10 | /selector1~selector2/ {color:red}
|
---|
11 | p {color:red;font-weight:bold}
|
---|
12 | .bigFont {font-size:200%}
|
---|
13 | #buleBack {background-color:blue;color:yellow}
|
---|
14 | -->
|
---|
15 | </style>
|
---|
16 | <body>
|
---|
17 | <div class="title">测试一下DIV</div>
|
---|
18 | <p>利用<span class="bigFont">Class</span>和<span id="buleBack">ID</span>显示内容</p>
|
---|
19 | <p><span class="EM"
|
---|
20 | >测一下COLOR</span></p>>
|
---|
21 | </body>
|
---|
22 | </html>
|
---|