HTML tag

HTML tag is used to represent ruby annotations on the web page. Ruby annotations are useful if we want to show the pronunciation of East Asian characters like Chinese and Japanese Chinese.

The tag enclosed one or more elements which give the pronunciation of ruby annotations and displays above the annotation characters. It can also contain (optional) element which is used as a fall-back parenthesis for the browser which does not support the ruby annotation.

HTML tag can also be used to represent small annotation which is relevant to the main content, apart from East Asian language.

The tag is new in HTML5.

Syntax

Following are some specifications about the HTML tag

Display Inline
Start tag/End tag Both Start and End tag
Usage formatting

Example

Test it Now

Output:

HTML ruby tag

Attribute:

Tag-specific attributes:

The tag does not contain any specific attribute.

Global attribute:

The tag supports the global attributes in HTML

Event attribute:

The tag supports the event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML s Tag




Contact US

Email:[email protected]

HTML ruby Tag
10/30