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

| Index | Previous Tag: <BASEFONT> | Next Tag: <BGSOUND> |


<BDO>

This tag is used to create a "bi-directional override." It enables you to print characters either from left-to-right (as used in most languages) or from right-to-left (as used in Hebrew and Arabic, among others).

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported
Notes:
  • This tag requires the </BDO> end tag.
Attributes:
CLASS = "Text"
The style sheet class used by the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported

Notes:

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

DIR = "Text" (Required)
The direction of the text.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported

Notes:

  • Use "LTR" for left-to-right text; use "RTL" for right-to-left text.

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

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported

Notes:

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

LANGUAGE = "Text"
The language of the text.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported

Notes:

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

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 5.0 and later Not supported

Notes:

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

Example:
<BDO DIR="RTL">
This text runs right-to-left.
</BDO>
How It Looks:
This text runs right-to-left.

| Index | Previous Tag: <BASEFONT> | Next Tag: <BGSOUND> |