\n
HTML <rp> Tag
\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n \n
\n\n
\nHTML <rp> Tag
\nNote: The <rp> tag is a new tag in HTML5.
\n\nExample
\nUse the <ruby> tag to display Ruby annotations (Chinese characters with phonetic symbols):
\n<ruby>\n Han <rp>(</rp><rt>γγ’Λ</rt><rp>)</rp>\n</ruby>\n \n\n Browser Support
\n| Tag | \n|||||
|---|---|---|---|---|---|
| <rp> | \n5.0 | \n5.5 | \n38.0 | \n5.0 | \n15.0 | \n
Definition and Usage
\nThe <rp> tag defines what to show in browsers that do not support ruby annotations.
\nUse <rp> together with the <ruby> and <rt> tags: The <ruby> element consists of one or more characters that need an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that do not support ruby annotations.
\n\nDifferences Between HTML 4.01 and HTML5
\nThe <rp> tag is new in HTML5.
\n\nGlobal Attributes
\nThe <rp> tag also supports the Global Attributes in HTML.
\n\nEvent Attributes
\nThe <rp> tag also supports the Event Attributes in HTML.
\n
YouTip