HTML <rp>
Tag
The <rp>
tag is used in conjunction with the <ruby>
and <rt>
tags to specify what to show in browsers that do not support ruby annotations.
Example:
<ruby>漢<rp>(pinyin>Hàn</rp><rt>Han</rt></ruby>
In the above example, if the browser supports ruby annotations, it will display the Chinese character "漢" with the pronunciation "Han" next to it. However, if the browser does not support ruby annotations, it will display "Han (pinyin: Hàn)". The <rp>
tag is used to provide fallback text for browsers that do not support ruby annotations.
<rp>
Tag Attributes:
Attribute | Description |
---|---|
None | The <rp> tag does not have any specific attributes. |