Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML5 rp Tag

  • Difficulty Level : Basic
  • Last Updated : 14 Jun, 2021

The <rp> tag in HTML is used to provide parentheses around a ruby main text which defines the information. This tag is used when the browser does not support ruby annotations. Such kind of annotation is used in Japanese publications. It is an optional tag. This tag is used within the <ruby> tag. This tag is new in HTML5.
Syntax: 
 

<rt><rp>[</rp> Explaination... <rp>]</rp></rt>

Example: 
 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

HTML




<!DOCTYPE html>
 
<html>
 
        <body>
            <h1>GeeksforGeeks</h1>
            <h2><rp> Tag</h2>
            <ruby>GFG:
                <rt>
                    <!-- HTML rp tag starts here -->
                    <rp>[</rp>GeeksforGeeks
                    <rp>]</rp>
                     <!-- HTML rp tag starts here -->
                </rt>
            </ruby>
        </body>
 
</html>                   

Output: 
 

Supported Browsers: 
 

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

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!