Html 5 Rp Tag

The <rp> tag was introduced in HTML 5. The <rp> is use to an explanation ruby tag. The <rp> tag did not exist in older version of HTML.it tag integrate with <ruby> and <rt> tag.The ruby tag includes one or more characters and it use for explanation to east asian character.

Syntax:

<ruby>
  <rt> <rp>... </rp> </rt>
</ruby>

Example Code

<!DOCTYPE HTML>
<ruby>
  漢 <rp> ㄏㄢˋ </rp>
</ruby>

Out Put :



  漢 ㄏㄢˋ

In the above example ruby tag is used to display for East Asian characters.





Content