网页样式设计--CSS
2,用CLASS和ID作为选择符
<style>
<!--
.periwinkle {color:#6699ff}
#bright {font-weight:bolder;color:#00ff00}
-->
</style>
在body中如下方法调用:
<strong class="periwinkle">
<p>This is bold,periwinkle text.</strong>
<p id="bright">This text is hard to read
![]() |
|
|