?
This document uses PHP Chinese website manual Release
HTML<rt>
element 包含字符的發(fā)音,字符在 ruby 注解中出現(xiàn),它用于描述東亞字符的發(fā)音。這個元素始終在<ruby>
元素中使用。
內(nèi)容類別 | 沒有。 |
---|---|
允許的內(nèi)容 | Phrasing content. |
標記遺漏 | 如果<rt>元素之后緊跟著一個<rt>或<rp>元素,或者父元素中沒有更多內(nèi)容,則可以省略結(jié)束標簽 |
允許父母 | 一個<ruby>元素。 |
允許ARIA角色 | 任何 |
DOM界面 | HTML元素 |
這個元素只包含全局屬性。
<ruby> 漢 <rt>Kan</rt> 字 <rt>ji</rt></ruby>
Specification | Status | Comment |
---|---|---|
HTML Living StandardThe definition of '<rt>' in that specification. | Living Standard | |
HTML5The definition of '<rt>' in that specification. | Recommendation |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | 5 | No | 38 | 5 | 15 | 5 |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | No | 38 | (Yes) | 15 | (Yes) |