HTML ruby Tag

HTML ruby Tag

HTML ruby Tag defines a ruby annotations. Ruby annotation is a text linked with the main text which defines it's pronunciation or meaning, it is often used for languages like Japanese.

Syntax of HTML ruby Tag

The Syntax of HTML ruby Tag is shown below, It has both starting tag and ending tag.

<ruby>
</ruby>

Usage of HTML ruby Tag

HTML ruby Tag is used for ruby annotations used to explain the text in Japanese publications.

Many Asian languages specially Japanese language feature this kind of annotations.

ruby tag is used with rt tag and rp tag.

Example of HTML ruby Tag

Simple example of HTML ruby Tag is given below.

<ruby>HTML
<rp>(</rp><ruby>Hypertext Markup Language</ruby><rp>)</rp>
</ruby>

Output

HTML (Hypertext Markup Language)

In above example we have used ruby tag to explain the term HTML.

Browser Support for HTML ruby Tag

HTML ruby Tag is supported by these versions of latest browsers like Chrome (5.0), Firefox (38.0), Edge (5.5), Opera (15) and more.

Global Attributes Support in HTML ruby Tag

The HTML ruby Tag supports all Global Attributes.

Event Attributes Support in HTML ruby Tag

The HTML ruby Tag supports all Event Attributes.

Comments

Popular posts from this blog

Gove confirms mandatory housebuilding targets for councils will be abolished in face of Tory rebellion – UK politics live

Kotak Mahindra Bank Recruitment 2022 Released for Graduate Candidates And Apply Online