<rt> tag

HTML5 <rt> tag

The <rt> tag defines Character pronunciation of ruby annotations.

Ruby annotation is used to display certain characters in languages spoken in China, Hong Kong, Japan, Macau, Mongolia, North Korea, South Korea & Taiwan.

You must set the <rt> element inside the <ruby> element. 

It is better to include the <rp> tag also as a fallback value. This will show the text inside this tag for all the browsers which does not support the <ruby> annotations.

Syntax:
<rt>text…</rt>

Example

<ruby>
你好<rp>(</rp><rt>hello</rt><rp>)</rp>
不错<rp>(</rp><rt>nice</rt><rp>)</rp>
</ruby>

Default CSS Value

line-height: normal;

How Browser will display

INLINE.

Difference between HTML4.01, XHTML and HTML5

HTML4 XHTML HTML5
NA NA New tag in HTML5

Attributes used with <rt> tag

NONE

Global Attributes

The <rt> tag supports Global attributes.

Event Attributes

The <rt> tag supports Event attributes.

Supporting Browsers

rp, rt, ruby tags supporting browser

Related Tags

<rp> and <ruby>.

Tutorials for all brains!