aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/html/element/rt/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/html/element/rt/index.html')
-rw-r--r--files/ko/web/html/element/rt/index.html129
1 files changed, 129 insertions, 0 deletions
diff --git a/files/ko/web/html/element/rt/index.html b/files/ko/web/html/element/rt/index.html
new file mode 100644
index 0000000000..5cde18c84c
--- /dev/null
+++ b/files/ko/web/html/element/rt/index.html
@@ -0,0 +1,129 @@
+---
+title: '<rt>: 루비 텍스트 요소'
+slug: Web/HTML/Element/rt
+tags:
+ - Element
+ - HTML
+ - HTML text-level semantics
+ - Reference
+ - Ruby
+ - Web
+translation_of: Web/HTML/Element/rt
+---
+<div>{{HTMLRef}}</div>
+
+<p><strong>HTML <code>&lt;rt&gt;</code> 요소</strong>는 동아시아 문자의 루비 주석에서 발음, 번역 등을 나타내는 텍스트 부분을 지정합니다.</p>
+
+<div>{{EmbedInteractiveExample("pages/tabbed/rt.html", "tabbed-shorter")}}</div>
+
+
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row"><a href="/ko/docs/Web/Guide/HTML/Content_categories">콘텐츠 카테고리</a></th>
+ <td>없음.</td>
+ </tr>
+ <tr>
+ <th scope="row">가능한 콘텐츠</th>
+ <td><a href="/ko/docs/Web/Guide/HTML/Content_categories#구문_콘텐츠">구문 콘텐츠</a>.</td>
+ </tr>
+ <tr>
+ <th scope="row">태그 생략</th>
+ <td>바로 뒤따르는 요소가 {{htmlelement("rp")}}, 다른 <code>&lt;rt&gt;</code> 요소거나 자신이 부모의 마지막 요소라면 닫는 태그를 생략할 수 있습니다.</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="/ko/docs/Web/HTML/Global_attributes">전역 특성</a>만 포함합니다.</p>
+
+<h2 id="예제">예제</h2>
+
+<p>다음 예제는 {{htmlelement("ruby")}} 요소를 사용해 한자의 발음을 표기합니다.</p>
+
+<div id="with-ruby">
+<pre class="brush: html">&lt;ruby&gt;
+ 漢 &lt;rt&gt;한&lt;/rt&gt;
+ 字 &lt;rt&gt;자&lt;/rt&gt;
+&lt;/ruby&gt;
+</pre>
+
+<div class="hidden">
+<pre class="brush: css">body {
+ font-size: 22px;
+}
+</pre>
+</div>
+</div>
+
+<p>결과는 다음과 같습니다.</p>
+
+<p>{{EmbedLiveSample("with-ruby", 600, 60)}}</p>
+
+<p>브라우저가 루비를 지원하지 않는 경우엔 다음처럼 보일 것입니다.</p>
+
+<div id="without-ruby">
+<div class="hidden">
+<pre class="brush: html">漢 한 字 자</pre>
+
+<pre class="brush: css">body {
+ font-size: 22px;
+}
+</pre>
+</div>
+</div>
+
+<p>{{EmbedLiveSample("without-ruby", 600, 60)}}</p>
+
+<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('HTML WHATWG', 'text-level-semantics.html#the-rt-element', '&lt;rt&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'textlevel-semantics.html#the-rt-element', '&lt;rt&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+
+
+<p>{{Compat("html.elements.rt")}}</p>
+
+<h2 id="같이_보기">같이 보기</h2>
+
+<ul>
+ <li>{{HTMLElement("ruby")}}</li>
+ <li>{{HTMLElement("rp")}}</li>
+ <li>{{HTMLElement("rb")}}</li>
+ <li>{{HTMLElement("rtc")}}</li>
+</ul>