【例6-1】用ID标记定义CSS样式表实例。
<Html>
<Head>
<Title>ID定义CSS样式</Title>
<Style Type=Text/CSS>
<!
#Number1{fontfamily:隶书;fontSize:28pt;fontstyle:normal;fontweight:bold;color:red}
#Number2{fontfamily:楷书;fontSize:42pt;fontstyle:italic;fontweight:bold;color:blue}
>
</Style>
</Head>
<Body>
<Center>
<P Align=Center id=Number1>这是用ID定义的第-种样式</P>
<P Align=Center id=Number2>这是用ID定义的另一种样式</P>
</Center>
</Body>
</Html>