HTML Dog
Skip to navigation

HTML Tag: rt

Ruby text — the characters used as a pronunciation guide to annotate text (typically East Asian text). Part of a ruby element.

Optional Attributes

Global attributes

Example


<!-- basic ruby annotation structure: -->

<ruby>
    <rb>Base text</rb>
    <rt>Annotation</rt>
</ruby>


<!-- "Tokyo" in Japanese, annotated with hiragana syllabary: -->

<ruby>
    <rb>東京</rb>
    <rp>(</rp>
    <rt>とうきょう</rt>
    <rp>)</rp>
</ruby>