HTML Dog
Skip to navigation

HTML Tag: rb

Ruby base text — the text (typically East Asian text) that is to be annotated with ruby characters as a pronunciation guide. 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>