rp

FilterElements

<rp> ... </rp>

HTML5 only. Used within the ruby element to provide parentheses around ruby text to be shown by user agents that don’t support ruby annotations.

Start/End Tags

Required/Required

Specifications

  • HTML5

In the following example, a browser that cannot display ruby annotation would display the rt content in parentheses after the ideograph:

<ruby>
<rp>(</rp><rt>hàn</rt><rp>)</rp>
<rp>(</rp><rt>zì</rt><rp>)</rp>
</ruby>

This example was taken from the HTML5 Working Draft at whatwg.com, used with permission under an MIT License.

Rendered Example


(hàn)
()