From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/html/element%2Frp.html | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 devdocs/html/element%2Frp.html (limited to 'devdocs/html/element%2Frp.html') diff --git a/devdocs/html/element%2Frp.html b/devdocs/html/element%2Frp.html new file mode 100644 index 00000000..18e91041 --- /dev/null +++ b/devdocs/html/element%2Frp.html @@ -0,0 +1,85 @@ +

<rp>: The Ruby Fallback Parenthesis element

The <rp> HTML element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. One <rp> element should enclose each of the opening and closing parentheses that wrap the <rt> element that contains the annotation's text.

+

Try it

+
+

Attributes

+

This element only includes the global attributes.

+

Usage notes

+
+

Examples

+ +

Using ruby annotations

+
+

This example uses ruby annotations to display the Romaji equivalents for each character.

+

html

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

Result

+
+ + +

See the article about the <ruby> element for further examples.

+
+

Without ruby support

+
+

If your browser does not support ruby annotations, the result looks like this instead:

+
+ + +
+
+

Technical summary

+
Content categories None.
Permitted content Text
Tag omission The end tag can be omitted if the element is immediately followed by an <rt> or another <rp> element, or if there is no more content in the parent element.
Permitted parents A <ruby> element. <rp> must be positioned immediately before or after an <rt> element.
Implicit ARIA role No corresponding role
Permitted ARIA roles Any
DOM interface HTMLElement
+

Specifications

+
+ + +
Specification
HTML Standard
# the-rp-element
+

Browser compatibility

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariWebView AndroidChrome AndroidFirefox for AndroidOpera AndroidSafari on IOSSamsung Internet
rp5793851554.41838144.21.0
+

See also

+
+

+ © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
+ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp +

+
-- cgit v1.2.3