summaryrefslogtreecommitdiff
path: root/devdocs/html/element%2Frtc.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/html/element%2Frtc.html
new repository
Diffstat (limited to 'devdocs/html/element%2Frtc.html')
-rw-r--r--devdocs/html/element%2Frtc.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/devdocs/html/element%2Frtc.html b/devdocs/html/element%2Frtc.html
new file mode 100644
index 00000000..9c5637e2
--- /dev/null
+++ b/devdocs/html/element%2Frtc.html
@@ -0,0 +1,83 @@
+<header><h1>&lt;rtc&gt;: The Ruby Text Container element</h1></header><div class="section-content">
+<div class="notecard deprecated" id="sect1"><p><strong>Deprecated:</strong> This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the <a href="#browser_compatibility">compatibility table</a> at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.</p></div> <p>The <code>&lt;rtc&gt;</code> <a href="../index">HTML</a> element embraces semantic annotations of characters presented in a ruby of <a href="rb"><code>&lt;rb&gt;</code></a> elements used inside of <a href="ruby"><code>&lt;ruby&gt;</code></a> element. <a href="rb"><code>&lt;rb&gt;</code></a> elements can have both pronunciation (<a href="rt"><code>&lt;rt&gt;</code></a>) and semantic (<a href="rtc" aria-current="page"><code>&lt;rtc&gt;</code></a>) annotations.</p>
+</div>
+<h2 id="try_it">Try it</h2>
+<div class="section-content"><iframe class="interactive is-tabbed-standard-height" height="200" src="https://interactive-examples.mdn.mozilla.net/pages/tabbed/rtc.html" title="MDN Web Docs Interactive Example" loading="lazy"></iframe></div>
+<h2 id="attributes">Attributes</h2>
+<div class="section-content"><p>This element only includes the <a href="../global_attributes">global attributes</a>.</p></div>
+<h2 id="examples">Examples</h2>
+<div class="section-content">
+<div class="code-example">
+<p class="example-header"><span class="language-name">html</span></p>
+<pre data-signature="bECTCJitb2YbU8IZEgBWaPu7xFCVDN1M0iiPZ2bZy6Q=" data-language="html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>div</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">"</span>info<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ruby</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rtc</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rb</span><span class="token punctuation">&gt;</span></span>旧<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rb</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rt</span><span class="token punctuation">&gt;</span></span>jiù<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rt</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rb</span><span class="token punctuation">&gt;</span></span>金<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rb</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rt</span><span class="token punctuation">&gt;</span></span>jīn<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rt</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rb</span><span class="token punctuation">&gt;</span></span>山<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rb</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rt</span><span class="token punctuation">&gt;</span></span>shān<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rt</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rtc</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>rtc</span><span class="token punctuation">&gt;</span></span>San Francisco<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>rtc</span><span class="token punctuation">&gt;</span></span>
+ <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ruby</span><span class="token punctuation">&gt;</span></span>
+<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>div</span><span class="token punctuation">&gt;</span></span>
+</pre>
+</div>
+</div>
+<h3 id="result">Result</h3>
+<div class="section-content"><div class="code-example" id="sect2">
+
+<iframe class="sample-code-frame" title="Examples sample" id="frame_examples" width="600" height="120" src="https://live.mdnplay.dev/en-US/docs/Web/HTML/Element/rtc/runner.html?id=examples" loading="lazy"></iframe>
+</div></div>
+<h2 id="technical_summary">Technical summary</h2>
+<div class="section-content"><figure class="table-container"><div class="_table"><table class="properties"> <tbody> <tr> <th scope="row"><a href="../content_categories">Content categories</a></th> <td>None.</td> </tr> <tr> <th scope="row">Permitted content</th> <td> <a href="../content_categories#phrasing_content">Phrasing content</a> or <a href="rt"><code>&lt;rt&gt;</code></a> elements. </td> </tr> <tr> <th scope="row">Tag omission</th> <td> The closing tag can be omitted if it is immediately followed by a <a href="rb"><code>&lt;rb&gt;</code></a>, <a href="rtc" aria-current="page"><code>&lt;rtc&gt;</code></a> or <a href="rt"><code>&lt;rt&gt;</code></a> element opening tag or by its parent closing tag. </td> </tr> <tr> <th scope="row">Permitted parents</th> <td>A <a href="ruby"><code>&lt;ruby&gt;</code></a> element.</td> </tr> <tr> <th scope="row">Permitted ARIA roles</th> <td>Any</td> </tr> <tr> <th scope="row">DOM interface</th> <td><a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement"><code>HTMLElement</code></a></td> </tr> </tbody> </table></div></figure></div>
+<h2 id="specifications">Specifications</h2>
+<div class="_table"><table class="standard-table">
+<thead><tr><th scope="col">Specification</th></tr></thead>
+<tbody><tr><td><a href="https://html.spec.whatwg.org/multipage/obsolete.html#rtc">HTML Standard <br><small># rtc</small></a></td></tr></tbody>
+</table></div>
+<h2 id="browser_compatibility">Browser compatibility</h2>
+<div class="_table"><table>
+<thead>
+<tr id="bct-browser-type">
+<th></th>
+<th colspan="6">Desktop</th>
+<th colspan="6">Mobile</th>
+</tr>
+<tr id="bct-browsers">
+<th></th>
+<th>Chrome</th>
+<th>Edge</th>
+<th>Firefox</th>
+<th>Internet Explorer</th>
+<th>Opera</th>
+<th>Safari</th>
+<th>WebView Android</th>
+<th>Chrome Android</th>
+<th>Firefox for Android</th>
+<th>Opera Android</th>
+<th>Safari on IOS</th>
+<th>Samsung Internet</th>
+</tr>
+</thead>
+<tbody><tr>
+<th><code>rtc</code></th>
+<td class="bc-supports-yes">≤80</td>
+<td class="bc-supports-yes">80</td>
+<td class="bc-supports-yes">33</td>
+<td class="bc-supports-no">No</td>
+<td class="bc-supports-yes">67</td>
+<td class="bc-supports-yes">≤13.1</td>
+<td class="bc-supports-yes">80</td>
+<td class="bc-supports-yes">80</td>
+<td class="bc-supports-yes">33</td>
+<td class="bc-supports-yes">57</td>
+<td class="bc-supports-yes">≤13.4</td>
+<td class="bc-supports-yes">13.0</td>
+</tr></tbody>
+</table></div>
+<h2 id="see_also">See also</h2>
+<div class="section-content"><ul> <li><a href="ruby"><code>&lt;ruby&gt;</code></a></li> <li><a href="rp"><code>&lt;rp&gt;</code></a></li> <li><a href="rb"><code>&lt;rb&gt;</code></a></li> <li><a href="rt"><code>&lt;rt&gt;</code></a></li> </ul></div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2005&ndash;2023 MDN contributors.<br>Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.<br>
+ <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc" class="_attribution-link">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc</a>
+ </p>
+</div>