html - "offset from the surrounding content"是什么意思?

标签 html css

我正在阅读一本 html 书,上面写着:

b 元素非常简单:包含在开始和结束标记之间的内容与周围的内容有偏移。

那么“偏移自”是什么意思?那个 b 元素不就是把包含的文本加粗了吗?

最佳答案

在 w3 文档中你可以阅读:

The b element represents a span of text to be stylistically offset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened.

来源:https://dev.w3.org/html5/html-author/#the-b-element

问候

关于html - "offset from the surrounding content"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58196706/

相关文章:

javascript - 在水平滚动时动态更新 Metro listView (JS/HTML)

javascript - 响应式网站

javascript - 使用 jQuery 在文本上添加阴影

javascript - 我的 anchor 标记没有采用 javascript 函数和 php 中的内联样式表

javascript - HTML 加粗不呈现

javascript - 检测keyCode问题错误值

c# - 从字符串格式化 Html 代码

html - 当内容超宽(超出屏幕)时,CSS 自动扩展页眉和页脚 div 宽度以匹配内容 div 宽度

html - iOS 9 移除了使用 CSS 更改某些符号颜色的可能性

html - 可以将 <li> 背景设置为全宽 + 居中垂直高度吗?