HTML - Tags - <rb>

#106 of 147
rb
Next rbc
Prev q

 <html>
 <body>
     <ruby>
         <rb>漢</rb> <rp>(</rp><rt>Kan</rt><rp>)</rp>
         <rb>字</rb> <rp>(</rp><rt>ji</rt><rp>)</rp>
     </ruby>
     <ruby>
         <rb>02</rb> <rt>Month</rt>
         <rb>08</rb> <rt>Day</rt>
         <rb>1973</rb> <rt>Year</rt>
     </ruby>
     <ruby>
         <rbc>
             <rb>10</rb>
             <rb>31</rb>
             <rb>2002</rb>
         </rbc>
         <rtc>
             <rt>Month</rt>
             <rt>Day</rt>
             <rt>Year</rt>
         </rtc>
         <rtc>
             <rt rbspan="3">Date</rt>
         </rtc>
     </ruby>
 </body>
 </html>
 

The rb element contains the ruby base text to which a ruby text annotation (rt) is applied.

Ruby characters are small symbols placed next to text (typically Chinese, Japanese and Korean) to clarify pronunciation. The text to be annotated is the ruby base and the annotation is the ruby text.

The ruby element is used to mark the word you want to clarify.

The rb element means ruby base.

The rbc element means ruby base container.

The rp element means ruby parenthesis (for complex markup).

The rt element means ruby text.

The rtc element means ruby text container (for complex markup).

A live example:


(Kan) (ji)      02 Month 08 Day 1973 Year   

N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath