使用 <b> 是不好的做法吗?标签? [英] Is it bad practise to use the <b> tag?

查看:35
本文介绍了使用 <b> 是不好的做法吗?标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
可以使用吗?代替<b>盲目?
<b> 和有什么区别?和<strong>、<i>和 <em>?

如果是为什么?有两个开发人员告诉我,我为自由职业者工作,不要使用 b 标签,而是使用 strong.但他们都无法告诉我具体原因.

If so why? I have been told by two developers I do free lance work for, not to use the b tag and instead to use strong. But neither have been able to tell me why exactly.

我宁愿使用 b 因为它写得更快,除非有我不应该的特定原因.

I rather use b since it's faster to write unless there is a specific reason I shouldn't.

推荐答案

表示强烈强调.这个想法是,当使用不同的媒介(例如,文本到语音)时,你可以通过改变语气来表达强烈的强调.

<strong> means strong emphasis. The idea is that when using a different medium (e.g., text-to-speech), you can express strong emphasis through changing the tone.

表示粗体.这在屏幕显示之外毫无意义,更重要的是,它无法解释为什么某些东西是粗体的.

<b> means bold. That makes no sense outside of screen display, and more importantly, doesn't explain why something is bold.

这篇关于使用 &lt;b&gt; 是不好的做法吗?标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆