Description

The <rp> element is used to provide fall-back parenthesis for browsers that that don't support ruby annotations. Ruby annotations are used for showing pronounciation of East Asian characters, like Chinese or Japanese characters.

The following table summarizes the usages context and the version history of this tag.

Placement:Inline
Content:Inline and text
Start/ End Tag:Start tag: required, End tag: required
Version:HTML 5

Syntax

The basic syntax of the <rp> tag is given with:

HTML/XHTML: <rp> ... </rp>

The example below shows the <rp> tag in action.

<ruby>
  漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
  字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>

Tag-Specific Attributes

The <rp> tag doesn't have any specific attribute.

Global Attributes

Like all other HTML tags, the <rp> tag supports the glodelal Attributes in HTML5.

Event Attributes

The <rp> tag also supports the event Attributes in HTML5.

Browser Compatibility

Element
<rp>YesYesYesYesYes