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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <ruby> Tag

Das HTML <ruby>-Element wird verwendet, um Anotationen für ostasiatische Schriftzeichen oder Zeichenkommentare anzuzeigen.

Online-Beispiel

Eine ruby-Kommentar:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Grundlagen-Tutorial-Website(oldtoolbag.com)</title> 
</head>
<body>
<ruby>
  Ming Tag</rp><rt>ming ri</rt><rp>)</rp>
</ruby>
</body>
</html>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

IE 9+Firefox, Opera, Chrome and Safari support the <ruby> Tag.

Note:IE 8 or earlier versions of IE browsers do not support the <ruby> Tag.

Definition and Usage of Tags

The <ruby> Tag defines ruby annotations (pinyin or characters).

used in East Asia, showing the pronunciation of East Asian characters.

combine the <ruby> Tag with <rt> and <rp> used together with tags:
<ruby> Elements consist of one or more characters that require explanation/consists of characters with pronunciation and a <rt> element that provides this information, as well as an optional <rp> element that defines the content displayed when the browser does not support the "ruby" element.

HTML 4.01 and HTML5difference between

<ruby> Tag is an HTML5 in the new tags.

Global Attributes

Support for <ruby> Tag Global Attributes of HTML.

Event Attributes

Support for <ruby> Tag HTML Event Attributes.