RUBY <ruby> Tag

by Jai 08-Aug-19

0 605

The ruby annotation is a clearly new tag included in HTML 5 which are included in the webpage and are represented using the <ruby> tag of HTML. The ruby tag in HTML constitutes of small texts which are represented along with the main text to specify how to read a specific character.

A HTML <ruby> tag consists of <rt> and <rp> element embedded among which, the <rt>element is used to represent the actual pronunciation of the page element. However, the other <rp> element of the tag can be left as an optional element which is only used in case the <ruby> tag is not supported by any browser.

The <ruby> tag is new in HTML5.


<!DOCTYPE html>
    <title>HTML Ruby tag</title>
        rt{ font-size: 18px;
            color: blue;
<h1>Example of ruby tag</h1>
    明日 <rp>(</rp><rt>Dummy</rt><rp>)</rp>


RUBY <ruby> Tag



    Waiting for your comments

Leave a Reply