html tutorial - <rt> Tag in HTML - html5 - html code - html form



  • <rt> tag is used to define the pronunciation of character in ruby annotations.
  • <rt> tag is showing the pronunciation for East Asian characters.
  • We can use the <rt> tag along with <ruby> tag and <rp> tag.
  • <rt> tag supports Global Attributes and Event Attributes.

Syntax for <rt> tag:

<ruby>
    <rt>content</rt>
</ruby>

Difference between HTML 4.01 and HTML 5 for <rt> tag:

HTML 4.0.1

  • HTML 4 does not support <rt> tag.

HTML 5

  • <rt> tag is new in HTML 5.

Sample Coding for <rt> tag:

Tryit<!DOCTYPE html>
<html >
    <head>
        <title>Wikitechy rt tag</title>
    </head>
    <body>
        <ruby><rt>kan</rt><rt>ji</rt>
        </ruby>
    </body>
</html>

Code Explanation for <rt> tag:

<rt> Tag Code Explanation

  1. <ruby> tag is used to specify ruby annotation.
  2. <rt> tag used to describe the pronunciation information for the word.

Output for <rt> tag:

<rt> Tag Output

  1. The pronunciation shown above the text.

Browser Support for <rt> tag in HTML:

5.0 5.5 38.0 5.0 15.0

Related Searches to rt tag in html