BlaBla.cn 网页教程与代码的中文站点
最近更新日期:2007-04-30 作者:布啦布啦 参考来源:www.BlaBla.cn 布啦布啦网页教程与代码
网站首页
>
CSS 教程与实例代码
>
CSS 代码实例
>
CSS 文本属性实例
> 文本修饰属性(text-decoration)
编辑文本后点击显示结果
Blabla.cn
<html> <head> <title>文本修饰属性 text-decoration</title> <style type="text/css"> .p1{text-decoration: none} .p2 {text-decoration: underline} .p3{text-decoration: line-through} .p4 {text-decoration:overline} </style> </head> <body> <p class = "p1">文本修饰属性(text-decoration)的缺省值是none。</p> <p class = "p2">这段的文本修饰属性(text-decoration)值是underline。</p> <p class = "p3">这段的文本修饰属性(text-decoration)值是line-through。</p> <p class = "p4">这段的文本修饰属性(text-decoration)值是overline。</p> </body> </html>
© 2005-2008 BlaBla.cn 版权所有