Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The <rb>
HTML element is used to delimit the base text component of a <ruby>
annotation, i.e. the text that is being annotated. One <rb>
element should wrap each separate atomic segment of the base text.
Content categories | None. |
---|---|
Permitted content | As a child of a <ruby> element. |
Tag omission | The end tag can be omitted if the element is immediately followed by an <rt> , <rtc> , or <rp> element or another <rb> element, or if there is no more content in the parent element. |
Permitted parents | A <ruby> element. |
Permitted ARIA roles | Any |
DOM interface | HTMLElement |