HTML rp Tag defines parentheses around ruby text for the browser which do not have support for the ruby annotations. All versions of all browsers don't support rp tag.
Table of Contents
Syntax of HTML rp Tag
The Syntax of HTML rp Tag is shown below, It has both starting tag and ending tag.
<rp>
</rp>
Usage of HTML rp Tag
HTML rp Tag was introduced in HTML5. HTML rp tag is used to enclose the parentheses which contains the explanation of the ruby annotations.
Many Asian languages specially Japanese language feature this kind of annotations.
rp tag is used with ruby tag.
Example of HTML rp Tag
Simple example of HTML rp Tag is given below.
<ruby>HTML
<rp>(</rp><rt>HyperText Markup Language</rt><rp>)</rp>
</ruby>
Output
HTMLIn above example we have used rp tag to define parentheses around text.
Browser Support for HTML rp Tag
HTML rp Tag is supported by these versions of latest browsers like Chrome (5.0), Firefox (38.0), Edge (5.5), Opera (15) and more.
Global Attributes Support in HTML rp Tag
The HTML rp Tag supports all Global Attributes.
Event Attributes Support in HTML rp Tag
The HTML rp Tag supports all Event Attributes.