Advertisement

HTML <rp> tag

Examples

A ruby ​​annotation:

<ruby>
漢 <rt><rp>(</rp><rp>)</rp></rt>
</ruby>

Try it yourself

Browser Support

IE Firefox Chrome Safari Opera

Internet Explorer 9+, Firefox, Opera, Chrome and Safari support <rp> tag.

Note: 8 and earlier versions of Internet Explorer do not support the <rp> tag.

Definition and Usage

<Rp> tag is used in ruby ​​annotations to define the content browser does not support the ruby ​​element is displayed.

ruby annotation is Chinese phonetic or characters.

In East Asia used to display the pronunciation of East Asian characters.

And <ruby> and <rt> tag used together:

The information displayed ruby ​​element consists of one or more characters (requires an explanation / pronunciation) providing the information and a rt elements, also includes an optional rp elements are defined when the browser does not support the "ruby" element when.

HTML 4.01 and HTML 5 differences between

<Rp> tag is the new HTML 5 tags.

Tips and Notes

Tip: Support for "ruby" element of the browser does not display "rp" element.

Global Properties

<rp> tag supports HTML in the global properties .

Event Properties

<rp> tag supports HTML in the event properties .