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代码翻译
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 instead.
......它⼏乎总是⼀个迹象,表明你不应该使⽤<em>或<strong>但是来代替。
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> ,因为后者具有更⼤的适⽤性和可访问性。
latex ⽂本斜体
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论