The <rt> element holds the ruby text — pronunciation, transliteration, or a short translation for base text inside <ruby>. Browsers typically show it above or beside the annotated characters (for example Japanese furigana).
Always keep <rt> inside <ruby>. Optionally wrap it with <rp> parentheses for fallback UAs. Skip deprecated <rb> and legacy <rtc>.
Baseline · Widely available.
Not deprecated. Stable across browsers since about July 2015 (and earlier in practice).
Note.
Put base characters as text (or phrasing content) in <ruby>, then follow with <rt> for that reading. One rt can annotate a character or a whole word.
Syntax
HTML Syntax
syntax.html
<ruby>base<rt>reading</rt></ruby>
Content is phrasing content. The end tag may be omitted if <rt> is immediately followed by <rp> or another <rt>, or when the parent ends.
Reference
Attributes
The <rt> element has no element-specific attributes — only global attributes.
You can restyle size and color with CSS. Keep contrast strong so small readings stay readable.
Frequently Asked Questions
The rt element holds the ruby text — usually a pronunciation, transliteration, or short translation shown with East Asian base characters inside a ruby element.
Yes. rt is only valid as a child of ruby. Outside ruby it has no useful meaning.
Recommended. rp provides fallback parentheses for browsers that do not support ruby layout, so readings still look like 漢 (kan).
In HTML, yes when rt is immediately followed by rp or another rt, or when the parent ends. Beginners can write both tags for clarity.
No. It is Baseline and widely available. Deprecated or legacy ruby pieces are rb and rtc — not rt.
Phrasing content — typically short reading text such as kana, romaji, or a brief gloss. Keep it short so the annotation stays readable.