<rp>

Description

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.

Example


<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title> 
    </head> 
<body> 
  <!--from w ww.j av a2  s. c  o  m-->
   <ruby> BJ <rp>(</rp><rt>Beijing</rt><rp>)</rp></ruby> 
</p> 
</body> 
</html>

Click to view the demo

The code above generates the following result.

rp




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference