<rp>
HTML <rp> Tag
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <ruby> 漢 <rp>(</rp><rt>Kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby> </body> </html>
Run instance»
Click "Run" Example" button to view online examples
ML <rp> Tag
##Browser SupportIE 9+, Firefox, Opera, Chrome and Safari support the <rp> tag.
Note: IE 8 or earlier versions of IE browsers do not support the <rp> tag.
Tag definition and usage instructions<rp> tag is used in ruby comments to define the content displayed by browsers that do not support ruby elements. ruby comments are Chinese pinyin or characters. Used in East Asia, showing the pronunciation of East Asian characters. Use the <rp> tag with the <ruby> and <rt> tags:
The <ruby> element consists of one or more characters that need to be interpreted/pronounced and a character that provides that information The <rt> element also includes the optional <rp> element, which defines the content displayed when the browser does not support the "ruby" element.
Differences between HTML 4.01 and HTML5The<rp> tag is a new tag in HTML5.
Global attributes<rp> tag supports HTML global attributes.
Event attributes<rp> tag supports HTML event attributes.