HTML <rp> tag

Updated: 05/08/2017 by Computer Hope

HTML rp tagWhen writing in HTML, 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, as well as related attributes and browser compatibility.

Example code

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

Example result

( Today )

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <rp> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

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

Browser, Compatibility, HTML rt tag, Nesting, Parentheses, Ruby