html tutorial - <rp> Tag in HTML - html5 - html code - html form
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:
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:
Code Explanation for <rp> tag:
- <ruby> tag is used to specify ruby annotation.
- <rt> tag used to describe the pronunciation information for the word.
- <rp> tag used to define what to show for browsers that not support ruby annotations.
Output for <rp> tag:
- The output shows the Ruby annotation.
Browser Support for <rp> tag in HTML:
5.0 | 5.5 | 38.0 | 5.0 | 15.0 |