<rp>

  • Revision slug: HTML/Element/rp
  • Revision title: <rp>
  • Revision id: 336293
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

Summary

<rp> is an HTML element which is used for Ruby annotations which are for showing pronounciation of East Asian characters. <rp> element is used in the case of lack of {{ HTMLElement("ruby") }} element support. If browser does not support {{ HTMLElement("ruby") }} element, inside of <rp> is shown which should be parantheses logically.

Attributes

Like all other HTML elements, this element supports the global attributes.

Example

<ruby>
  漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
  字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>

See also

  • {{HTMLElement("ruby")}}
  • {{HTMLElement("rt")}}

Revision Source

<h2 id="Summary" name="Summary">Summary</h2>
<p><code>&lt;rp&gt;</code> is an HTML element which is used for Ruby annotations which are for showing pronounciation of East Asian characters. <code>&lt;rp&gt;</code> element is used in the case of lack of {{ HTMLElement("ruby") }} element support. If browser does not support {{ HTMLElement("ruby") }} element, inside of <code>&lt;rp&gt;</code> is shown which should be parantheses logically.</p>
<h2 id="Attributes" name="Attributes">Attributes</h2>
<p>Like all other HTML elements, this element supports the <a href="/en-US/docs/HTML/Global_attributes" title="HTML/Global attributes">global attributes</a>.</p>
<h2 id="Example" name="Example">Example</h2>
<pre class="brush: html">
&lt;ruby&gt;
  漢 &lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;Kan&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;
  字 &lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;ji&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;
&lt;/ruby&gt;</pre>
<h2 id="See_also" name="See_also">See also</h2>
<ul>
  <li>{{HTMLElement("ruby")}}</li>
  <li>{{HTMLElement("rt")}}</li>
</ul>
Revert to this revision