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

Manual de Referência HTML

大全 de etiquetas HTML

HTML: <rt> etiqueta

O elemento de texto Ruby HTML ( <rt>) contém a pronúncia dos caracteres, os caracteres aparecem na anotação Ruby, e é usado para descrever a pronúncia de caracteres asiáticos. Este elemento sempre é usado dentro do elemento <ruby>.

Exemplo Online

Um comentário ruby:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Manual Básico(oldtoolbag.com)</title> 
</head>
<body>
<ruby>
  汉 <rt>Chinês</rt>
  字 <rt>Letra</rt>
</ruby>
</body>
</html>
Test and see ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

IE 9+Firefox, Opera, Chrome and Safari support the <rt> tag.

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

Tag definition and usage instructions

The <rt> tag defines the interpretation or pronunciation of characters (Chinese phonetic or characters).

Associate the <rt> tag with <ruby> and <rp> used together with tags:

The <ruby> element consists of one or more/consisting of phonetic characters and a <rt> element that provides this information, including an optional <rp> element that defines the content to be displayed when the browser does not support the "ruby" element.

If the <rt> element is immediately followed by the <rt> or <rp> element, or if there is no more content in the parent element, the closing tag can be omitted.

HTML 4.01 and HTML5differences between

<rt> tag is HTML5 in the new tags.

Global attributes

Support for <rt> tag Global attributes of HTML.

Event attributes

Support for <rt> tag Event attributes of HTML.