PUBLISHED ON: FEBRUARY 20, 2021
HTML RP Tag
In HTML, the <rp>
tag is used as fallback parenthesis for those browsers does not support <ruby>
tag.
-
There are some browsers that do not support <ruby>
tag. Thus to show the enclosed text by <ruby>
tag in those browsers that does not support <ruby>
tag ;<rp>
tag is used in HTML5
-
The <ruby>
tag acts as a parent of <rt>
tag.
HTML <rp>
Tag Syntax and Usage
The <rp>
tag requires both openings (start) and closing(end) tag. The syntax for the same is given below:
<ruby>
<rp>
..content here
</rp>
<ruby>
HTML <rp>
Tag Basic Example
Below we have a basic example of <rp>
tag and <ruby>
tag is always a parent tag for it:
<ruby>
? <rp>(</rp><rt>Kan</rt><rp>)</rp>
? <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
HTML <rp>
Tag Attributes
This element does not have any specific attributes although this element supports Global and Event attributes.
Browser Support for HTML <rp>
tag
Following browsers support this attribute:
-
Google Chrome 5+
-
Internet Explorer 5.5+
-
Safari 5+
-
Opera 15+