HTML <rp> Tag

Description

The <rp> HTML element is used to display text in browsers that do not support the <ruby> element. In other browsers, the text enclosed in the <rp> container is not displayed. The <rp> element must go before or after the <rt>.

Properties

Permitted Parents
A <ruby> element. <rp> must be positioned immediately before or after an <rt> element
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

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

Attributes

None

Global Attributes

The <rp> tag also supports the Global Attributes in HTML5

Event Attributes

The <rp> tag also supports the Event Attributes in HTML5

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
5X538155
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYes3814YesYes