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:
The example below shows the <rp>
tag in action.
Example
Try this code »<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.
Basic Support—
|
Further Reading
See tutorial on: HTML Text Formatting.