CSS中文本装饰属性的用法
文本装饰属性用于下划线,上划线和删除线文本。
示例
下面的示例演示如何装饰文本。可能的值是无,下划线,上划线,直通,闪烁。
<html>
<head>
</head>
<body>
<p style = "text-decoration:underline;">
This will be underlined
</p>
<p style = "text-decoration:line-through;">
This will be striked through.
</p>
<p style = "text-decoration:overline;">
This will have a over line.
</p>
<p style = "text-decoration:blink;">
This text will have blinking effect
</p>
</body>
</html>