HTML Dog
Skip to navigation

HTML Tag: rp

Ruby fallback text, typically parentheses, to be shown when a browser does not support ruby annotations. 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>