<rt>

Description

This element is used with the <ruby> element. The text following <rt> appears as a note to the base text displayed by the <ruby> element.

Example


<html>
<body>
     <ruby>
          <span>This is the base text.</span>
          <rt>
               <span>This is the ruby text</span>
          </rt>     
     </ruby>
</body><!--   w w w.j  a  va  2s.  c  om-->
</html>

Click to view the demo

The code above generates the following result.

rt




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference