rp

abbr.

republic republic;representative representative;reprinting reprint;reprinted reprinted

html5<rp> tag syntax

Function: The <rp> tag is used in ruby ​​comments to define the content displayed by browsers that do not support ruby ​​elements.

ruby comments are Chinese pinyin or characters.

is used in East Asia and displays the pronunciation of East Asian characters.

Use with <ruby> and <rt> tags: The

ruby element consists of one or more characters (requiring an explanation/pronunciation) and an rt element that provides that information , also includes an optional rp element that defines content to be displayed when the browser does not support the "ruby" element.

Note: Browsers that support the "ruby" element will not display the content of the "rp" element.

html5<rp> tag example


<!DOCTYPE HTML>
<html>
<body>

<ruby>
漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt>
</ruby>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance