html5<rt> tag


  Translation results:

rt

abbr.

right right wing, right side

html5<rt> tagsyntax

Function: <rt> The tag defines the interpretation or pronunciation of characters (Chinese phonetic pronunciation or characters).

ruby comments are Chinese pinyin 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<rt> tagexample

<!DOCTYPE HTML>
<html>
<body>

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

</body>
</html>
Run instance »

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

Home

Videos

Q&A