HTML Rt Tag

HTML RT TagHTML Rt tag <rt> is used to define elucidation or accent for the characters in HTML Ruby Tag annotation.

HTML Rt tag <rt> characters are small (in display) and can be placed above or to the right side of the Chinese or Japanese characters.

HTML Rt tag is used with the HTML Ruby Tag and HTML Rp Tag.

The HTML Ruby tag defines the Chinese or Japanese Characters which needs to be helped in pronunciation and the HTML Rt Tag shows the required pronunciation.

The HTML Rp Tag defines what will be rendered on the browser if the browser does not support HTML Ruby Tag.

HTML 5 Rt tag is a closed tag and needs HTML 5 Rt closing tag </rt>

Note: Rt Tag is new in HTML 5.


HTML Rt Tag Syntax

<Rt>
Some pronunciation here..
</Rt>

HTML Rt Tag Example

HTML Rt Tag Code Output
<ruby>
中国<rt>Zhōngguó </rt>
食品<rt>shípǐn</rt>
</ruby>

中国 Zhōngguó
食品shípǐn

In the HTML 5 Rt Tag example above, we have taken the example of “Chinese Food” which will be pronounced as “Zhōngguó shípǐn”. Note that the actual pronunciation is being displayed on top of the Chinese characters.

Also note the usage of HTML Ruby Tag <ruby> for providing the Chinese characters.

HTML Rt Tag supports all HTML Global Attributes and HTML Event Attributes.


HTML Rt Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes (From IE 9 Onwards)
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Tagged , , , , , , , , , , , , , , , , , . Bookmark the permalink.