html tutorial - <rp> Tag in HTML - html5 - html code - html form




rp tag in html

Learn html - html tutorial - rp tag in html - html examples - html programs

  • <rp> tag is used to define parenthesis for browsers that do not support ruby annotations which are used in East Asian typography.
  • In HTML we can use the <rp> tag together with <ruby> and <rt> tag.
  • <rp> tag supports Global Attributes and Event Attributes.

Syntax for <rp> tag:

<ruby>
    <rt><rp>(</rp>Content<rp>)</rp></rt>
</ruby>

Differences between HTML 4.01 and HTML 5 for <rp> tag:

HTML 4.0.1

  • HTML 4 does not support <rp> tag.

HTML 5

  • <rp> tag is new in HTML5.

Sample Coding for <rp> tag:

Tryit<!DOCTYPE html>
<html >
    <head>
        <meta charset=”UTF-8”>
        <title>Wikitechy rp tag</title>
    </head>
    <body>
        <ruby><rt>kan</rt><rt><rp>(</rp>ji<rp>)</rp></rt>
        </ruby>
    </body>
</html>

Code Explanation for <rp> tag:

<rp> Tag Code Explanation

  1. <ruby> tag is used to specify ruby annotation.
  2. <rt> tag used to describe the pronunciation information for the word.
  3. <rp> tag used to define what to show for browsers that not support ruby annotations.

Output for <rp> tag:

<rp> Tag Output

  1. The output shows the Ruby annotation.

Browser Support for <rp> tag in HTML:

5.0 5.5 38.0 5.0 15.0

Related Searches to rp tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×