HTML <rt> (Ruby Text) Tag
Example
<p lang="ja" xml:lang="ja">
...
<ruby>
漢 <rp>(</rp><rt>かん</rt><rp>)</rp>
字 <rp>(</rp><rt>じ</rt><rp>)</rp>
</ruby>
...
</p>
Meaning
The <rt> element is used within a <ruby> tag to create ruby text, or annotations or pronunciation guides for words and phrases.
The base text should be enclosed in a <ruby> element; the annotation, enclosed in an <rt> element, will appear as smaller text above the base text.
Ruby parentheses should be set with <rp> elements to provide fallback for browsers without ruby support.
Note: The <rt> element must be used within the <ruby> element.
Version: HTML5
Standard Syntax
<rt>...</rt>
Browser Support
Status
Global Attributes
The <rt> element also supports the Global Attributes in HTML.
Event Attributes
The <rt> element also supports the Event Attributes in HTML.
By Default CSS Value(s)
Most of the browsers will display the <rt> element with the following by default value(s)
rt {
line-height: normal;
}