HTML rt Tag defines or pronounces the term or characters used in ruby language annotation. This is often used for East Asian languages or typography.
Table of Contents
Syntax of HTML rt Tag
The Syntax of HTML rt Tag is shown below, It has both starting tag and ending tag.
<rt>
</rt>
Usage of HTML rt Tag
HTML rt Tag was introduced in HTML5. HTML rt tag is used to explain the characters used in ruby annotations.
Many Asian languages specially Japanese language feature this kind of annotations.
rt tag is used with ruby tag and rp tag.
Example of HTML rt Tag
Simple example of HTML rt Tag is given below.
<ruby>HTML
<rp>(</rp><rt>HyperText Markup Language</rt><rp>)</rp>
</ruby>
Output
HTMLIn above example we have used rt tag to explain the term HTML.
Browser Support for HTML rt Tag
HTML rt Tag is supported by these versions of latest browsers like Chrome (5.0), Firefox (38.0), Edge (5.5), Opera (15) and more.
Global Attributes Support in HTML rt Tag
The HTML rt Tag supports all Global Attributes.
Event Attributes Support in HTML rt Tag
The HTML rt Tag supports all Event Attributes.