第7章:文本

7.7 文本装饰:text-decoration属性

下划线:text-decoration : underline

上划线:text-decoration : overline

贯穿线:text-decoration : line-through

闪烁:text-decoration : blink(IE不支持)

超级链接是下划线 <del>元素是贯穿线 <ins>元素是下划线

文本装饰可以同时设置多个值

文本装饰不被继承,子元素下的线是段落的下划线

为子元素定义上划线,段落的下划线依然存在。

返回代码目录