\n

HTML <rp> Tag

\n

Note: The <rp> tag is a new tag in HTML5.

\n\n

Example

\n

Use the <ruby> tag to display Ruby annotations (Chinese characters with phonetic symbols):

\n
<ruby>\n  Han <rp>(</rp><rt>ㄏㄒˋ</rt><rp>)</rp>\n</ruby>
\n

Try it yourself

\n\n

Browser Support

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
TagChromeIEFirefoxSafariOpera
<rp>5.05.538.05.015.0
\n\n

Definition and Usage

\n

The <rp> tag defines what to show in browsers that do not support ruby annotations.

\n

Use <rp> together with the <ruby> and <rt> tags: The <ruby> element consists of one or more characters that need an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that do not support ruby annotations.

\n\n

Differences Between HTML 4.01 and HTML5

\n

The <rp> tag is new in HTML5.

\n\n

Global Attributes

\n

The <rp> tag also supports the Global Attributes in HTML.

\n\n

Event Attributes

\n

The <rp> tag also supports the Event Attributes in HTML.

\n