The HTML <rp> tag
The HTML <rp> element provides fallback parentheses (or other characters) shown around a <rt> annotation only in browsers that cannot render <ruby> text properly.
Overview
The <rp> (ruby parenthesis) element is a graceful fallback within a <ruby> annotation. Browsers that support ruby hide it, while those that do not show its content: typically parentheses placed around the <rt> annotation.
The result is that the reading still makes sense inline even without ruby positioning: instead of the annotation floating above the base text, it appears in parentheses after it, like "漢字(かんじ)".
Syntax
<ruby>漢<rp>(</rp><rt>kan</rt><rp>)</rp></ruby>
Example
<p><ruby>語<rp>(</rp><rt>go</rt><rp>)</rp></ruby></p>
Best practices
Frequently asked questions
What is the rp element?
Why use rp?
What goes inside rp?
Is rp shown in modern browsers?
<rp>; only those without support display it.






















