CSS教程 text-decoration属性的使用

 时间:2026-04-25 07:24:11

1、新建一个 text-decoration属性的使用.html 文件,如图所示:

CSS教程 text-decoration属性的使用

2、输入HTML5的结构代码,将title标签里面的内容修改成:text-decoration属性的使用,如图所示:

CSS教程 text-decoration属性的使用

3、输入div标签,并且设置其width和height,如图所示:

CSS教程 text-decoration属性的使用

4、text-decoration的属性:

1)添加下划线(underline),如图所示:

CSS教程 text-decoration属性的使用

5、2)添加中划线(line-through),如图所示:

CSS教程 text-decoration属性的使用

6、3)添加上划线(overline),如图所示:

CSS教程 text-decoration属性的使用

  • Photoshop2022如何打开字形面板选项卡
  • 在PS中如何制作油状效果文字
  • 2015年做什么生意最赚钱
  • 关于ps做网页文件分辨率问题
  • ps时间轴在哪
  • 热门搜索
    内分泌失调该怎么办 菠菜的做法大全家常 兰花怎么养殖方法和注意事项 教子心得怎么写 上海健桥医院怎么样 老碗鱼的家常做法 羊肉片怎么做好吃 酱萝卜的腌制方法 左胸痛是怎么回事 面瘫的治疗方法