Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML5 <ruby> Tag

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

The <ruby> tag in HTML is used to specify the ruby annotation which is a small text, attached with the main text to specify the meaning of the main text. This kind of annotation is used in Japanese publications.

<ruby attributes> Contents... </ruby>

Note: <ruby> tag contains two other tags which are listed below: 

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

  • <rt> tag: It is used to describe the explanation of main text on top of the main text.
  • <rp> tag: It is optional which is used to specify the information which need to show when browsers are not supported ruby annotations.



<!DOCTYPE html>
            <h2><ruby> Tag</h2>
            <!-- html ruby tag is used here -->


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 :