Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

rb rp rt rtc ruby

The <rb>, <rp>, <rt>, <rtc> and <ruby> elements are used to markup Ruby annotations. Ruby characters are small annotations that are placed to the right or above characters in the East Asian languages. The <rt> tag is used to markup the ruby text component of a ruby annotation. The <rp> tag is used to provide parentheses around a ruby text component of a ruby annotation, to be shown in browser software that is unable to support the ruby annotations.

Code Example

<div lang="zh-CN"> <ruby> <rt><rp>( </rp>Hán t<rp> )</rp></rt> <rt>Quc ng</rt> </ruby> </div> open in code editor

Attributes

globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation

http://www.w3.org/TR/html/text-level-semantics.html#the-rb-element http://www.w3.org/TR/html/text-level-semantics.html#the-rp-element http://www.w3.org/TR/html/text-level-semantics.html#the-rt-element http://www.w3.org/TR/html/text-level-semantics.html#the-rtc-element http://www.w3.org/TR/html/text-level-semantics.html#the-ruby-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr