Ruby Tag in HTML || HTML Ruby Tag

HTML RUBY <ruby> Tag


The ruby annotation is a clearly new tag included in HTML5 which is 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>


Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments