ruby ElementThe ruby element is an inline element declared by the XHTML 1.1 Ruby Annotation Module
Elements in the Ruby Annotation Module are:ruby | rb | rt | rp | rbc | rtc
For detailed information on ruby text and its markup, please see *W3C: Ruby Annotation.
There are no #REQUIRED attributes on the ruby element.
There are no specific attributes declared on the ruby element.
ruby element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
ruby element is:
( rb, ( rt | ( rp, rt, rp ) ) ) | ( rbc, rtc, rtc? )
NOTE: This element cannot be empty
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
rubyrubyabbr, acronym, address, cite, code, dfn, div, em, h1 - h6, kbd, p, q, samp, span, strong, varadd, dt, licaption, td, thfieldset, legendb, big, i, small, sub, sup, ttdel, insbdoobject