当前位置:网站首页>避免使用 <b>、<i>、<s> 和 <u> 标签
避免使用 <b>、<i>、<s> 和 <u> 标签
2022-08-01 23:03:00 【紫微前端】
这些标签通常用于样式目的。建议不要使用它们。相反,请使用提供相同外观的语义标签或 CSS 样式。
| 标签 | 推荐方式 |
|---|---|
`<b>` | `<strong>` |
`<i>` | `<em>` |
`<s>` | `text-decoration: line-through` |
`<u>` | `text-decoration: underline` |
有关这些标签之间差异的更多信息,请查看`<b>`, `<i>`vs `<strong>`,`<em>`。
边栏推荐
- xss相关知识点以及从 XSS Payload 学习浏览器解码
- npm npm
- xctf攻防世界 Web高手进阶区 web2
- Oracle 数据库设置为只读及读写
- 03、GO语言变量定义、函数
- 论文解读(GSAT)《Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism》
- Interpretation of the paper (GSAT) "Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism"
- From 0 to 100: Notes on the Development of Enrollment Registration Mini Programs
- 美赞臣EDI 940仓库装运订单详解
- 【数据分析03】
猜你喜欢
随机推荐
华为无线设备配置双链路冷备份(AP指定配置方式)
A. Doremy‘s IQ-- Codeforces Round #808 (Div. 1)
APP专项测试:流量测试
Jmeter是什么
How to add a game character to a UE4 scene
PAM 回文自动机
牛客多校4 A.Task Computing 思维
excel vertical to horizontal
Deep learning Course2 first week Practical aspects of Deep Learning exercises
CF1705D Mark and Lightbulbs
小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能
leetcode刷题
Additional Features for Scripting
xctf attack and defense world web master advanced area web2
将vim与系统剪贴板的交互使用
Graph Theory - Strongly Connected Component Condensation + Topological Sort
选择合适的 DevOps 工具,从理解 DevOps 开始
基于JAX的激活函数、softmax函数和交叉熵函数
移动端人脸风格化技术的应用
excel clear format








