What is <rp> and<rt> tags ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is <rp> and<rt> tags ????

tags

26th Jun 2018, 1:20 PM
Programmer Raja
Programmer Raja - avatar
3 Answers
+ 3
Use the <rp> tag together with the <ruby> and the <rt> tags: The <ruby> element consists of one or more characters that needs an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that not support ruby annotations. https://www.w3schools.com/tags/tag_rp.asp https://www.w3schools.com/tags/tag_rt.asp
26th Jun 2018, 1:29 PM
Goku
Goku - avatar
+ 3
<rp> Defines content which is to be shown in browsers that do not support ruby language annotations <rt> Defines explanations and pronunciations of characters in ruby language annotations
26th Jun 2018, 1:30 PM
damyco
damyco - avatar
+ 3
<rp> is used as the fallback tag in case the browser doesn't support <ruby> (showing Hangul, Hiragana, similar chars ...). <rt> specifies pronunciation/translation and is displayed above the characters. Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
26th Jun 2018, 1:34 PM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar