HTML5 <rp> Tag
A ruby annotation:
Try it yourself »
Definition and Usage
The <rp> tag is used in ruby annotations, to define what to show browsers that do not support the ruby element.
A ruby annotation is Chinese notes or characters.
Used in East Asia, to show the pronunciation of East Asian characters.
Use together with the <ruby> and the <rt> tags:
The ruby element consists of one or more characters (that needs an explanation/pronunciation), and a rt element that gives that information, and optionally a rp element that defines what to show browsers that do not support the "ruby" tag.
Differences Between HTML 4.01 and HTML5
The <rp> tag is new in HTML5.
Tips and Notes
Note: A browser that supports the "ruby" element will not show the content of a "rp" element.
The <rp> tag also supports the Standard Attributes in HTML5.
The <rp> tag also supports the Event Attributes in HTML5.