The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's HTML Tag Reference

| Index | Previous Tag: <RT> | Next Tag: <S> |


<RUBY>

Inserts a ruby into the page.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported
Notes:
  • A ruby is a word or phrase—called the base—combined with an annotation or pronunciation guide—called the ruby text (see the <RT> tag).
  • This tag requires the </RUBY> end tag.
Attributes:
CLASS = "Text"
The style sheet class used by the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:

  • You can specify two or more classes; be sure to separate each class name with a space.

ID = "Text"
An alphanumeric string that uniquely identifies the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:

  • Although you can use letters and numbers for the ID, the first character must be a letter.

LANG = "Text"
The language used by the tag's attribute values and text content.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

NAME = "Text"
The name of the ruby.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

STYLE = "Text"
The style or styles to use with the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
Not supported 5.0 and later Not supported

Notes:

  • If you enter multiple style properties, separate each one with a semi-colon (;).

Example:
<RUBY>
This is the base.
<RT>This is the ruby text.</RT>
</RUBY>
How It Looks:
This is the base. This is the ruby text.

| Index | Previous Tag: <RT> | Next Tag: <S> |