<rt>: ルビテキスト要素
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
<rt>
は HTML の要素で、ルビによる注釈(振り仮名)のルビテキストの部分を指定します。東アジアの組版において発音、翻訳、音写などの情報を提供するために使用します。 <rt>
要素は常に <ruby>
要素の中で使用されます。
試してみましょう
より多くの例については <ruby>
要素についての記事を参照してください。
属性
この要素にはグローバル属性のみがあります。
例
ルビ注釈の使用
技術的概要
コンテンツカテゴリー | なし |
---|---|
許可されている内容 | 記述コンテンツ |
タグの省略 |
<rt> 要素の直後に <rt>
要素または <rp>
要素がある場合、または親要素内に他のコンテンツがない場合は終了タグを省略可能。
|
許可されている親要素 | <ruby> 要素 |
暗黙の ARIA ロール | 対応するロールなし |
許可されている ARIA ロール | すべて |
DOM インターフェイス | HTMLElement |
仕様書
Specification |
---|
HTML # the-rt-element |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
rt |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.