English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <rp> Tag

Der HTML-<rp>-Element wird verwendet, um Browsern, die die Ruby-Anmerkungen mit dem <ruby>-Element nicht darstellen können, nachfolgende Klammern bereitzustellen.

Online-Beispiel

Eine ruby-Kommentar:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Grundlagen-Tutorial-Website(oldtoolbag.com)</<title> 
</<head>
<body>
<ruby>
  Han <rp>(</rp><rt>Kan</rt><rp>)</rp>
  Zeichen <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
</body>
</html>
Testen Sie, ob ‹/›

Browserkompatibilität

IEFirefoxOperaChromeSafari

IE 9+Firefox, Opera, Chrome und Safari unterstützen den <rp>-Tag.

Note:IE 8 Or earlier versions of IE browsers do not support the <rp> tag.

Definition and Usage Description

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 cases where the <ruby> element is not supported. The content of <rp> provides what should be displayed, usually parentheses, to indicate the presence of the ruby annotation.

The <rp> tag is used with <ruby> and <rt> Used together with tags:
The <ruby> element consists of one or more characters that need to be explained/Consists of characters with pronunciation and a <rt> element that provides this information, as well as an optional <rp> element, which defines the content to be displayed when the browser does not support the "ruby" element. The <rp> element content provides what should be displayed, usually parentheses, to indicate the presence of the ruby annotation.

HTML 4.01 With HTML5Difference

<rp> Tag is a HTML5 New Tags.

Global Attributes

<rp> Tag Support Global Attributes of HTML.

Event Attributes

<rp> Tag Support HTML Event Attributes.