Posts in current category

HTML5 <ruby> tag

May 03, 2021 18:00 HTML5

Table of contents

HTML5 is used as a comment label. Please refer to the following example:

A ruby note:

Han slt;rp>(lt;/rp>rt>Han?lt;rt<rp>)?lt;/rp>
The word slt;rp>(lt;/rp>rt>Zi<rt<rp>)/rp>

Try it out . . .

Browser support

HTML5 <ruby> tag HTML5 <ruby> tag HTML5 <ruby> tag HTML5 <ruby> tag HTML5 <ruby> tag

IE 9 Plus, Firefox, Opera, Chrome, and Safari support the hashtags.

Note: IE 8 or earlier versions of IE browsers do not support the hashtag.

Label definition and instructions for use

The label defines ruby comments (Chinese or characters).

Used in East Asia, the pronunciation of East Asian characters is displayed.

Use the hashtags with the hashtags .
The element consists of one or more characters that need to be interpreted/pronounced and one element that provides that information, and also includes an optional element, which defines what is displayed when the browser does not support the "ruby" element.

The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.

Global properties

The label supports the global properties of HTML.

The event property

The label supports the event properties of HTML.