在<head>和</head>之间加上如下的CSS语法控制:
<style type="text/css"> //也可以直接就写<style>
<!--
a:link { text-decoration: none} //a:link 指正常的未被访问过的链接
a:active { text-decoration: none } //a:active 指点击链接的瞬间出现的链接情况
a:visited { text-decoration: none } //a:visited 指已经访问过的链接
a:hover { text-decoration: none; } //a:hover 指鼠标放上去链接出现的情况
-->
</style>
粗体文字使用的代码是:B { text-decoration: line-through }
使粗体文字中所有的字母大写。使用代码: B { text-transform: uppercase }(这个在NS中才显示出来,IE没有相应效果显示)
经过在对链接的几个属性进行颜色设置后,可以使具有link,active,visited属性的链接显示不同的颜色,但是却不会产生鼠标覆盖变色效果。
四、看一下下面链接设置的总体运用情况:
<style type="text/css">
<!--
a:link { text-decoration: none ; color: blue ; font-size: 9pt }
a:active { text-decoration: underline ; color: yellow;font-size: 10pt }
a:visited { text-decoration: none ; color: red;font-size: 10.5pt }
a:hover { text-decoration: underline; color: green ; font-size: 11pt;background:white; }
-->
</style>