MyBlogHelp– A Blog for Digital Marketing, Affiliate Marketing, Organic Lead Generation.
  • Home
  • About
  • Contact
  • Privacy
  • Sitemap
  • BLOG
  • AFFILIATE MARKETING
    • LeadsArk
  • MORE
    • MAKE MONEY
      • ONLINE BUSINESS
      • ADSENSE
      • AFFILIATE MARKETING
    • BLOGGING
      • SEO
      • BlogSpot
      • WORPRESS
      • GOOGLE
      • COMPUTER TIPS
    • WEB DESIGN
      • HTML
      • CSS
      • BOOTSTRAP
      • JAVASCRIPT
      • JQUERY
    • WEB DESIGN
      • HTML
      • CSS
      • BOOTSTRAP
      • JAVASCRIPT
      • JQUERY
    • WEB DEVELOPMENT
      • PHP
      • WORDPRESS
  • DOWNLOADS
    • Blogger Template
    • Wordpress Theme
    • PDF

Thursday, January 3, 2019

How to use Ruby tag in html5?

 MyBlogHelp     January 03, 2019     html     No comments   

ruby tag in html
USE OF RUBY TAG IN HTML

Introduction of HTML5 <ruby> Tag

<ruby> tag specifies annotation for a text. An annotation is a small text that interprets the meaning of the main text or helps in the pronunciation of characters which is used. Ruby tag is a new element in HTML5.

Originally it is used to provide help in the pronunciation of East Asian languages such as Chinese, Japanese, Korean etc. but you can also use this tag to tell the meaning of a text for the general purpose.

Ruby text enhances the user's reading experience. For example, if you are using any of the technical terms in your program, then ruby can attach an explanation with them by text. While reading this, the user will understand your document easily without any hassle.

Ruby text is too smaller than text. In the context of the horizontal text, it is shown above main text and in the context of the vertical text, it shows in the right of the main text. Such browser which does not support the ruby tag, show it like the inline element after the main text.

Syntax of HTML5 <ruby> Tag

Generic syntax of the lower <ruby> tag is given below.

<ruby>
<rb> main text </ rb>
<rt> ruby text (explanation) </ rt>
</ ruby>

<Ruby>, <rt>, <rp> and <rb> tags are used to create ruby text in any webpage. These are being described below.

<ruby> - This is an inline element. This tag works like a container for other tags. In this, the main text and ruby text are specified by the <rb> and <rt> tag.

<rb> - This tag is called ruby base. By this tag, you can define the main text.

<rt> - This tag is called ruby text. By this tag, you can define the ruby text.

<rp> - This tag is called ruby parenthesis which adds the parenthesis to both sides of the ruby text. It works in the browsers that do not support the ruby tag. Those browsers that support the ruby tag ignore this tag.

Attributes of HTML5 <ruby> Tag

There is no element specific tag for <ruby> tag. But it supports all HTML global attributes (class, id etc) and event attributes (onclick, onmouseover etc).

How to use Ruby tag in html5?

Example of HTML5 <ruby> Tag




The above example produces the below output.

ruby tag example
RUBY TAG EXAMPLE


Ruby Tag Compatible Browsers

       List of browsers version those are compatible with Ruby Tag given below.

                1. Google Chrome 5.0
                2. Firefox 38.0
                3. Internet Explorer 5.5
                4. Safari 5.0
                5. Opera 15.0



   << PREVIOUS                                                                                                         NEXT >>




  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Thank you for reading this post. Please do not enter any spam link in the comment box.

Followers

Blog Archive

  • ►  2020 (4)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
  • ▼  2019 (52)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (11)
    • ►  April (10)
    • ►  March (6)
    • ►  February (3)
    • ▼  January (16)
      • What is bootstrap and its major advantages of crea...
      • What is CSS? CSS Tutorial 01
      • How to use input attributes in html5?
      • How to use input type in html5?
      • How to use output tag in html5?
      • How to use keygen tag in html5?
      • How to use datalist tag in html5?
      • How to use svg tag in html5?
      • How to use canvas tag in HTML5?
      • How to use the track tag in html5?
      • How to use source tag in html5?
      • How to use embed tag in html5?
      • How to use the main tag in html5?
      • How to use Ruby tag in html5?
      • How to use html5 mark tag to highlight text?
      • How to use html5 footer tag?
  • ►  2018 (54)
    • ►  December (27)
    • ►  November (5)
    • ►  May (5)
    • ►  April (4)
    • ►  February (3)
    • ►  January (10)
  • ►  2017 (17)
    • ►  December (9)
    • ►  November (8)

Popular Posts

  • How to use the main tag in html5?
  • How to use keygen tag in html5?
  • How to use html5 mark tag to highlight text?
  • How to start Online Business without money from home?
  • What is a search engine?

Contact Us

Name

Email *

Message *

About MyBlogHelp

Most of the posts, we share on this blog related to Affiliate Marketing, Organic Lead Generation, Digital Marketing, Social Media Marketing, Make Money Online, SEO, and web design.

Featured Post

LeadArk - Affiliate Marketing | Qualified Organic Lead Generation | LeadsArk Review

Copyright © MyBlogHelp– A Blog for Digital Marketing, Affiliate Marketing, Organic Lead Generation.
Design by Md. Abdussamad | MyBlogHelp.com