From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/html/element/rt/index.html | 138 +++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 files/zh-cn/web/html/element/rt/index.html (limited to 'files/zh-cn/web/html/element/rt') diff --git a/files/zh-cn/web/html/element/rt/index.html b/files/zh-cn/web/html/element/rt/index.html new file mode 100644 index 0000000000..03ec718c19 --- /dev/null +++ b/files/zh-cn/web/html/element/rt/index.html @@ -0,0 +1,138 @@ +--- +title: +slug: Web/HTML/Element/rt +translation_of: Web/HTML/Element/rt +--- +

HTML Ruby 文本 (<rt>) 元素包含字符的发音,字符在 ruby 注解中出现,它用于描述东亚字符的发音。这个元素始终在 {{ HTMLElement("ruby") }} 元素中使用。

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
内容分类无  
允许的内容短语内容
标签省略如果 {{HTMLElement("rt")}} 元素紧紧跟随  {{HTMLElement("rt")}} 或者 {{HTMLElement("rp")}} 元素,或者父元素中没有更多内容了,结束标签可以省略。
允许的父元素{{HTMLElement("ruby")}} 元素
允许的 ARIA 角色任意     
DOM 接口{{domxref("HTMLElement")}}
+ +

属性

+ +

该元素仅仅包含 全局属性

+ +

示例

+ +
<ruby>
+  汉 <rt>Hàn</rt>
+  字 <rt>Zì</rt>
+</ruby>
+
+ +

规范

+ + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'semantics.html#the-rt-element', '<rt>')}}{{Spec2('HTML WHATWG')}} 
{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-rt-element', '<rt>')}}{{Spec2('HTML5 W3C')}} 
+ +

浏览器兼容性

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持5.0{{CompatVersionUnknown}}{{CompatGeckoDesktop(38)}}5.0{{CompatNo}}5.0
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基本支持{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile(38)}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatVersionUnknown}}
+
+ +

另见

+ + + +

{{ HTMLRef }}

-- cgit v1.2.3-54-g00ecf