Trusted answers to developer questions

What is the <rp> element in HTML?

Free System Design Interview Course

Many candidates are rejected or down-leveled due to poor performance in their System Design Interview. Stand out in System Design Interviews and get hired in 2024 with this popular free course.

In HTML, the <rp> element is used to provide fall-back parentheses around a ruby text. This is normally used for browsers that lack the support to display ruby annotations using the <ruby> element.

Syntax

<ruby>
symbol<rp>(</rp><rt>annotation</rt><rp>)</rp>
</ruby>

The opening and closing brackets are enclosed within the <rp> element. These brackets contain the text that we want to display as annotations.

Code

The following code demonstrates the usage of the <rp> element in HTML.

  • HTML

RELATED TAGS

html
Did you find this helpful?