This <rt> element is used with the <ruby>
element.
The text following <rt>
appears as
a note to the base text displayed by the <ruby>
element.
<rt> |
Yes | Yes | No | Yes | Yes |
The <rt> tag is new in HTML5.
The <rt> tag supports the Global Attributes in HTML.
The <rt> tag supports the Event Attributes in HTML.
rt { line-height: normal; }
A demo showing how to use <rt> tag.
<html>
<body>
<ruby>
<span>This is the base text.</span>
<rt>
<span>This is the ruby text</span>
</rt>
</ruby>
</body><!--from w w w . ja v a2s.c o m-->
</html>