HTML <rp> tag

Updated: 11/13/2018 by Computer Hope
HTML rp tag

When writing in HTML (hypertext markup language), the <rp> tag is an inline element used to designate parenthesis that show what to display in browsers that do not support Ruby annotations. It is nested within a <ruby> element on a web page. The following sections contain information about this tag, including an example of it in use, and related attributes and browser compatibility.

Example of <rp> code

<p><ruby>
今 <rp>(</rp><rt>Today</rt><rp>)</rp>
</ruby></p>

Example result

( Today )

Attributes

All HTML tags support standard attributes that define the settings of an HTML element. In addition to the standard settings, the <rp> tag has the following unique attributes.

Compatibility

Edge Internet Explorer Firefox Safari Opera Chrome
Not supported 5.0+ 38.0+ 5.0+ 15.0+ 5.0+

Browser, Compatibility, Container tag, HTML rt tag, Nesting, Parentheses, Ruby, Web design terms