<ruby>:Ruby 注释元素
<ruby>
HTML 元素表示呈现在基本文本上方、下方或旁边的小注释,通常用于显示东亚字符的发音。它还可以用于注释其他类型的文本,但这种用法不太常见。
¥The <ruby>
HTML element represents small annotations that are rendered above, below, or next to base text, usually used for showing the pronunciation of East Asian characters. It can also be used for annotating other kinds of text, but this usage is less common.
红宝石一词起源于 排字机使用的测量单位,代表文本可以打印在新闻纸上同时保持清晰的最小尺寸。
¥The term ruby originated as a unit of measurement used by typesetters, representing the smallest size that text can be printed on newsprint while remaining legible.
Try it
属性
示例
示例 1:特点
示例 2:单词
技术总结
规范
Specification |
---|
HTML Standard # the-ruby-element |
浏览器兼容性
BCD tables only load in the browser
也可以看看
¥See also
<rt>
<rp>
<rb>
<rtc>
text-transform
:full-size-kana