Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

A ruby annotation:

<

ruby

Han

<

rp

(

rp

<

rt

Han

rt

<

rp

)

rp

zi

<

rp

(

rp

<

rt

zi

rt

<

rp

)

rp

ruby

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Supported by IE 9+, Firefox, Opera, Chrome, and Safari tag.

**Note:** IE 8 and earlier versions of IE browsers do not support tag.


Tag Definition and Usage Notes

The tag defines a ruby annotation (Chinese phonetic annotation or character).

Used in East Asia, it displays the pronunciation of East Asian characters.

data to the child component via The tag is used together with the and tag:
The element consists of one or more characters to be explained/pronounced and a element providing that information, as well as an optional element that defines the content displayed when the browser does not support the "ruby" element.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.