English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <rp> element is used to provide subsequent parentheses for browsers that cannot display ruby annotations using the <ruby> element.
A ruby annotation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial Website(oldtoolbag.com)</<title> </<head> <body> <ruby> Han <rp>(</rp><rt>Kan</rt><rp>)</rp> Character <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
IE 9+Firefox, Opera, Chrome, and Safari support the <rp> tag.
Note:IE 8 Or earlier versions of IE browsers do not support the <rp> tag.
The <rp> tag is used in ruby annotations to define the content displayed by browsers that do not support the ruby element.
Ruby annotations are Chinese phonetic or characters. Used in East Asia, it displays the pronunciation of East Asian characters. For example, the text using Japanese Romaji and Chinese pinyin.
The <rp> element is used for situations where the <ruby> element is not supported. The content of <rp> provides what should be displayed, usually in parentheses to indicate the presence of the ruby annotation.
when used with the <rp> tag <ruby> and <rt> used together with tags:
The <ruby> element consists of one or more characters that need to be explained/consists of a character with pronunciation and a <rt> element that provides this information, and also includes an optional <rp> element, which defines the content to be displayed when the browser does not support the "ruby" element. The <rp> element content usually provides what should be displayed, often in parentheses to indicate the presence of the ruby annotation.
The <rp> tag is a part of HTML5 introduced new tags.
Support for <rp> tag Global Attributes of HTML.
Support for <rp> tag HTML Event Attributes.