aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/rtc
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/html/element/rtc
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/html/element/rtc')
-rw-r--r--files/zh-cn/web/html/element/rtc/index.html134
1 files changed, 134 insertions, 0 deletions
diff --git a/files/zh-cn/web/html/element/rtc/index.html b/files/zh-cn/web/html/element/rtc/index.html
new file mode 100644
index 0000000000..ded5504965
--- /dev/null
+++ b/files/zh-cn/web/html/element/rtc/index.html
@@ -0,0 +1,134 @@
+---
+title: <rtc>
+slug: Web/HTML/Element/rtc
+translation_of: Web/HTML/Element/rtc
+---
+<p><strong>HTML <code>&lt;rtc&gt;</code> 元素</strong>包含文字的语义注解,它们在 {{HTMLElement("rb")}} 元素中展示。{{HTMLElement("rb")}} 元素可以拥有发音 ({{HTMLElement("rt")}}) 和语义({{HTMLElement("rtc")}}) 注解。</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row"><a href="/en-US/docs/Web/HTML/Content_categories">内容分类</a></th>
+ <td>无  </td>
+ </tr>
+ <tr>
+ <th scope="row">允许的内容</th>
+ <td><a href="/en-US/docs/Web/HTML/Content_categories#Phrasing_content">短语内容</a> 或者 {{HTMLElement("rt")}} 元素</td>
+ </tr>
+ <tr>
+ <th scope="row">标签省略</th>
+ <td>如果它紧紧跟随{{HTMLElement("rb")}},{{HTMLElement("rtc")}} 或者 {{HTMLElement("rt")}} 元素的起始标签,或父元素的闭合标签,它的闭合标签就可以省略。</td>
+ </tr>
+ <tr>
+ <th scope="row">允许的父元素</th>
+ <td>{{HTMLElement("ruby")}} 元素.</td>
+ </tr>
+ <tr>
+ <th scope="row">允许的 ARIA 角色</th>
+ <td>任意</td>
+ </tr>
+ <tr>
+ <th scope="row">DOM 接口</th>
+ <td>{{domxref("HTMLElement")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="属性">属性</h2>
+
+<p>该元素仅仅包含 <a href="/en-US/docs/HTML/Global_attributes">全局属性</a></p>
+
+<h2 id="示例">示例</h2>
+
+<pre class="brush: html">&lt;ruby&gt;
+ &lt;rb&gt;旧&lt;/rb&gt;
+ &lt;rb&gt;金&lt;/rb&gt;
+ &lt;rb&gt;山&lt;/rb&gt;
+ &lt;rt&gt;jiù&lt;/rt&gt;
+ &lt;rt&gt;jīn&lt;/rt&gt;
+ &lt;rt&gt;shān&lt;/rt&gt;
+ &lt;rtc&gt;San Francisco&lt;/rtc&gt;
+&lt;/ruby&gt;
+</pre>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-rtc-element', '&lt;rtc&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>Initial definition.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatGeckoDesktop(33)}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatGeckoMobile(33)}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="另见">另见</h2>
+
+<ul>
+ <li>{{HTMLElement("ruby")}}</li>
+ <li>{{HTMLElement("rp")}}</li>
+ <li>{{HTMLElement("rb")}}</li>
+ <li>
+ <p>{{HTMLElement("rt")}}</p>
+ </li>
+</ul>
+
+<p>{{ HTMLRef }}</p>