Html 5 Rt Tag

The <rt> tag was introduced in HTML 5. The <rt> is use to an explanation or pronunciation of east asian character or language. The <rt> tag did not exist in older version of HTML.it tag integrate with <ruby> and <rp> tag.The ruby tag includes one or more characters and it use for explanation to east asian character.

Syntax:

<ruby>
  <rt> ... </rt>
</ruby>

Example Code

<!DOCTYPE HTML>
<ruby>
  漢 <rt> ㄏㄢˋ </rt>
</ruby>

Out Put :



  漢 ㄏㄢˋ

In the above example ruby tag is used to display for East Asian characters.





Content