The HTML <rp> tag

Course Recommendation:

<rp> Definition and Usage

The tag can be used to provide parentheses around ruby text for browsers that do not support ruby annotations. <rp> with <ruby> and <rt> Used Together: The <ruby> element consists of one or more characters that need to be explained/sounded out, as well as the <rt> element that provides this information, and an optional <rp> An element used to define what content is displayed for browsers that do not support ruby annotations.

Example

Pinyin Annotation:

<ruby>
漢 <rp>(</rp><rt>ㄏㄢˋ</rt><rp>)</rp>
</ruby>

Try It Yourself

Global Attributes

<rp> The tag also supports Global Attributes in HTML.

Event Attributes

<rp> The tag also supports Event Attributes in HTML.

Default CSS Settings

None.

Browser Support

The numbers in the table indicate the first browser version to fully support this tag.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
5.0 5.5 38.0 5.0 15.0