HTML Tags

HTML5 <rp> Tag

Topic: HTML5 Tags ReferencePrev|Next

Description

The <rp> element is used to provide fall-back parenthesis for browsers that that don't support ruby annotations. Ruby annotations are used for showing pronounciation of East Asian characters, like Chinese or Japanese characters.

The following table summarizes the usages context and the version history of this tag.

Placement: Inline
Content: Inline, and text
Start/End Tag: Start tag: required, End tag: required
Version: New in HTML5

Syntax

The basic syntax of the <rp> tag is given with:

HTML / XHTML: <rp> ... </rp>

The example below shows the <rp> tag in action.

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

Tag-Specific Attributes

The <rp> tag doesn't have any specific attribute.


Global Attributes

Like all other HTML tags, the <rp> tag supports the global attributes in HTML5.


Event Attributes

The <rp> tag also supports the event attributes in HTML5.


Browser Compatibility

The <rp> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox ×
  • Google Chrome 5+
  • Internet Explorer 5.5+
  • Apple Safari 5+
  • Opera 15+

Further Reading

See tutorial on: HTML Text Formatting.

Related tags: <ruby>, <rt>.

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties