jump

HTML 5: The Markup Language (ARIA Edition)

rubyruby annotation NEW # T

The ruby element allows spans of phrasing content to be marked with ruby annotations.

Permitted contents #

one or more of: phrasing content followed by one rt element, or one rp element, followed by one rt element, followed by one rp element

Permitted attributes #

global attributes
Any attributes permitted globally.
aria = #
(detailed attribute description to come)

Tag omission #

A ruby element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements

DOM interface #

Uses HTMLElement.

Typical default display properties #

ruby {
text-indent: 0; }