Code has been added to clipboard!

Using HTML <rt> Tags for Ruby Text

Reading time 1 min
Published Jun 29, 2017
Updated Oct 11, 2019

Ruby Text: Main Tips

  • <rt> tags define ruby text. They must be placed within <ruby> tags.
  • You may use it as a pronunciation guide for East Asian characters, as there are multiple options for a lot of them.
  • The rt tag has been introduced in HTML5, along with the other ruby text characters (<ruby> and <rp>).
  • Global attributes are supported.
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid certificates of completion
Coursera
Pros
  • Professional service
  • Flexible timetables
  • A variety of features to choose from
Main Features
  • Professional certificates of completion
  • University-level courses
  • Multiple Online degree programs
Datacamp
Pros
  • Great user experience
  • Offers quality content
  • Very transparent with their pricing
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable

Using rt HTML Tags

HTML <rt> tags define ruby text elements:

Example
<ruby><rt>Kan</rt><rt>ji</rt>
</ruby>

Ruby text is displayed in smaller font above the Chinese, Japanese, or Korean characters. It is a hint to the correct pronunciation. Some characters have multiple pronunciation options that affect meaning as well.

Note: ruby text elements can contain inline elements. However, they cannot have <ruby> elements as their descendants.

Browser support

Browser image
Chrome
5+
Browser image
Edge
-
Browser image
Firefox
38+
Browser image
IE
5+
Browser image
Opera
15+
Browser image
Safari
5+

Mobile browser support

Browser image
Chrome
All
Browser image
Firefox
38+
Browser image
Opera
14+
Browser image
Safari
All

Latest Udacity Coupon Found:

Verified STAFF PICK

75% OFF COURSES

Udacity Black Friday Offer

The best time to save on Udacity courses is now - follow this coupon to access a 75% Udacity Black Friday discount & enjoy learning at a very low cost!

Expiration date: 28/02/2021
3176 People Used
Only 97 Left
Rating
5.0