如何装饰文字 登录

如何装饰文字

实例解析:

text-decoration属性指定添加到文本的修饰。

可以设置的修饰有:

 ● underline:定义文本下的一条线。    

 ● overline:定义文本上的一条线。    

 ● line-through:定义穿过文本下的一条线。    

 ● blink:定义闪烁的文本。    

注: 修饰的颜色由 "color" 属性设置。

下一节
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <style> h1 {text-decoration:overline;} h2 {text-decoration:line-through;} h3 {text-decoration:underline;} </style> </head> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> </body> </html>
提交 重置代码
章节 评论 笔记 课件
  • 取消 回复 发送
  • 取消 发布笔记 发送