English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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>.
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 ‹/›
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.
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.
<rt> tag is HTML5 in the new tags.
Support for <rt> tag Global attributes of HTML.
Support for <rt> tag Event attributes of HTML.