HTML <rp> Tag

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!

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

The following table will show you the current browser support for the HTML <rp> tag.

Desktop
Edge Chrome Firefox Opera Safari
79538155
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
1838144.214.4

Last updated by CSSPortal on: 30th September 2023