我正在阅读一本 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/