latex 文本斜体_斜体和粗体文本

latex 文本斜体

HTML is designed to be as independent of medium and client as possible. While you interact with the majority of web pages visually via a screen, there are numerous other possibilities for how the content may be shown, such as print, text-to-speech readers, braille translators, and more.

HTML被设计为尽可能独立于媒体和客户端。 当您通过屏幕与大多数网页进行可视化交互时,还有许多其他方式可以显示内容,例如印刷品,文本语音朗读器,盲文翻译器等等。

For this reason, tags that format text in HTML are as broadly applicable as possible. <em>, for instance, emphasizes text. In most cases, visually rendered <em> content means it is italicized, but a text-to-speech tool will emphasize the text verbally, just as you would reading the text out loud.

因此,以HTML格式设置文本格式的标签应尽可能广泛地适用。 例如, <em>强调文本。 在大多数情况下,可视化呈现的<em>内容表示它是斜体,但是文本到语音转换工具会口头强调文本,就像您大声朗读文本一样。

<strong>, visually, bolds the content between the opening and closing <strong> tags, but again, the tag will have different meanings in different contexts.

<strong>视觉上使<strong>标记之间的内容加粗,但是同样,该标记在不同的上下文中将具有不同的含义。

Both tags are intended to be used on a short portion of text – a word or two, perhaps a sentence in a paragraph that is several sentences long. If you find yourself coding this:

这两个标签都打算在文本的一小部分上使用-一个或两个单词,也许是一个句子中的句子 ,句子长几个句子。 如果您发现自己编写此代码:

<p><em> .. lots of content here .. </em></p>

… it is almost always a sign that you should not be using <em> or <strong> but CSS instead.

......它几乎总是一个迹象,表明你应该使用<em><strong>但是CSS来代替。

Similarly, <strong> makes little to no difference inside of heading elements. Use CSS instead.

同样, <strong>在标题元素内部几乎没有差异。 请改用CSS。

reintroduces the <b> and <i> tags, but I would recommend sticking with <strong> and <em>, as the latter have greater applicability and accessibility.

重新引入了<b><i>标记,但是我建议坚持使用<strong><em> ,因为后者具有更大的适用性和可访问性。

翻译自: https://thenewcode.com/66/Italicizing-and-Bolding-Text

latex 文本斜体

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值