HTML Tag Reference - HTML tag <rp>

Ruby characters are notations placed above or to the right of characters. The <ruby> denotes a span of text that contains a ruby.

You use the ruby element in conjunction with the rt and rp elements. The rt element marks the ruby notation. The rp element denotes parentheses around an annotation that can be displayed by browsers that don't support ruby annotations.

Browser compatibility

<rp> Yes Yes No Yes Yes

What's new in HTML5

The <rp> tag is new in HTML5.

Global Attributes

The <rp> tag supports the Global Attributes in HTML.

Event Attributes

The <rp> tag supports the Event Attributes in HTML.

Default CSS Settings



A demo showing how to use <rp> tag.

  <!--  w  ww  .  ja v  a2 s .  c  om-->
   <ruby> BJ <rp>(</rp><rt>Beijing</rt><rp>)</rp></ruby> 

Click to view the demo