ruby

UK[ˈru:bi] 美[ˈrubi]

n.Ruby, ruby; ruby ​​color, deep red;< English>Fine typeface;Red wine

adj.Ruby;Ruby-colored

vt.To make ruby-red; to make… red; to dye… red

html5<ruby> tag syntax

Function: <ruby> tag defines ruby ​​comments (Chinese phonetic notation or characters).

is used in East Asia and displays the pronunciation of East Asian characters.

Use with <ruby> and <rt> tags: The

ruby element consists of one or more characters (requiring an explanation/pronunciation) and an rt element that provides that information , also includes an optional rp element that defines content to be displayed when the browser does not support the "ruby" element.

Note: Browsers that support the "ruby" element will not display the content of the "rp" element.

html5<ruby> tag example

<!DOCTYPE HTML>
<html>
<body>

<ruby>
 漢 <rt> ㄏㄢˋ </rt>
</ruby>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance