-
Notifications
You must be signed in to change notification settings - Fork 8k
/
index.md
98 lines (80 loc) · 2.4 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
title: "<rtc>: ルビテキストコンテナー要素"
slug: Web/HTML/Element/rtc
l10n:
sourceCommit: 942a529383ee7ee3996fb234187641c08935f3ff
---
{{HTMLSidebar}}{{deprecated_header}}
**`<rtc>`** は [HTML](/ja/docs/Web/HTML) の要素で、{{HTMLElement("ruby")}} 要素内で使用する {{HTMLElement("rb")}} 要素にルビで与える文字列の、意味を表す注釈を包含します。{{HTMLElement("rb")}} 要素は発音の注釈 ({{HTMLElement("rt")}}) と意味の注釈 ({{HTMLElement("rtc")}}) の両方を持つことができます。
{{EmbedInteractiveExample("pages/tabbed/rtc.html", "tabbed-standard")}}
## 属性
この要素には[グローバル属性](/ja/docs/Web/HTML/Global_attributes)のみがあります。
## 例
```html
<div class="info">
<ruby>
<rtc>
<rb>旧</rb><rt>jiù</rt>
<rb>金</rb><rt>jīn</rt>
<rb>山</rb><rt>shān</rt>
</rtc>
<rtc>San Francisco</rtc>
</ruby>
</div>
```
```css hidden
.info {
padding-top: 10px;
font-size: 36px;
}
```
### 結果
{{EmbedLiveSample("Examples", 600, 120)}}
## 技術的概要
<table class="properties">
<tbody>
<tr>
<th scope="row">
<a href="/ja/docs/Web/HTML/Content_categories">コンテンツカテゴリー</a>
</th>
<td>なし</td>
</tr>
<tr>
<th scope="row">許可されている内容</th>
<td>
<a href="/ja/docs/Web/HTML/Content_categories#記述コンテンツ"
>記述コンテンツ</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>
## 仕様書
{{Specifications}}
## ブラウザーの互換性
{{Compat}}
## 関連情報
- {{HTMLElement("ruby")}}
- {{HTMLElement("rp")}}
- {{HTMLElement("rb")}}
- {{HTMLElement("rt")}}