Open In App

HTML <rtc> Tag

Last Updated : 12 Jul, 2025
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report

The HTML <rtc> tag is used to define the explanation of the ruby annotation which is a small text, attached with the main text. Such kind of annotation is used in Japanese or chinese publications. The <rtc> tag contains the <rt> tag.

Note: HTML <rtc> tag is not supported in html5.

Syntax:

<rtc> statement </rtc>

Example 1: It is a basic example of <rtc> tag.

html
&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;
    &lt;title&gt;HTML &amp;lt;rtc&amp;gt; tag&lt;/title&gt;
    &lt;style&gt;
        body {
            text-align: center;
        }
        
        h1 {
            color: green;
        }
        
        ruby {
            font-size: 25px;
        }
    &lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;h1&gt;GeeksforGeeks&lt;/h1&gt;
    &lt;h2&gt;HTML &amp;lt;rtc&amp;gt; Tag&lt;/h2&gt;
    &lt;ruby&gt;
        &lt;rtc&gt;
            &lt;rt&gt;&amp;hearts;&lt;/rt&gt;
        &lt;/rtc&gt;
    &lt;/ruby&gt;
&lt;/body&gt;

&lt;/html&gt;

Output:

  

Example 2: This example does not contain <ruby> tag. 

html
&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;
    &lt;title&gt;HTML &amp;lt;rtc&amp;gt; tag&lt;/title&gt;
    &lt;style&gt;
        body {
            text-align: center;
        }
        
        h1 {
            color: green;
        }
    &lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;h1&gt;GeeksforGeeks&lt;/h1&gt;
    &lt;h2&gt;HTML &amp;lt;rtc&amp;gt; Tag&lt;/h2&gt;
    &lt;rtc&gt;
        &lt;rt&gt;GeeksforGeeks Contents&lt;/rt&gt;
    &lt;/rtc&gt;
&lt;/body&gt;

&lt;/html&gt;

Output:

  

Supported Browsers:

  • Google Chrome 5.0
  • Internet Explorer 5.5
  • Firefox 38.0
  • Opera 15.0
  • Safari 5.0

Similar Reads