asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > RUBY Element

<RUBY Element | RUBY Object


Designates an annotation or pronunciation guide to be placed above or inline with a string of text.HTML 5

HTML Syntax

Remarks

A ruby is a commonly used name for an annotation or pronunciation guide to a string of text. The string of text annotated with a ruby is referred to as the base.

Valid objects within the RUBY object are:

The RB object is optional and specifies the base text for the RUBY. Text not contained within the ruby text object, RT, is assumed to be a part of the base.

NOTE: Both start and end tags are required.

Attributes

The <ruby> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following sample outlines the implementation of the RUBY object. The sample specifies one string of text as the base, and a second string of text as the ruby.

<RUBY>
   <RB>Base Text
  <RT>Ruby Text
</RUBY>

 Show me 

See Also

RB   RT



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note