Text Content

HTML <rp> element

Provides fallback punctuation around ruby annotations for clients that do not display ruby layout. Place fallback punctuation around rt in ruby markup. Supporting browsers ordinarily hide rp because ruby annotation layout makes the parentheses unnecessary. It accepts global HTML attributes; individual global features may be inapplicable or restricted.

Formal Syntax & Structure

html syntaxhtml
<rp>(</rp>

Return Value

HTMLElement

Content model: Text; fallback punctuation in ruby annotations.

Working Example

Example Snippethtml
<!doctype html><html lang="en">  <head>    <meta charset="utf-8">    <title>HTML example</title>  </head>  <body>    <ruby>      漢      <rp>(</rp>      <rt>kan</rt>      <rp>)</rp>    </ruby>  </body></html>
HTML Reference