HTML <bdo> Tag

Definition and Usage

<bdo> tag is used to override the current text direction.

BDO Means Bi-Directional Override (Bi-Directional Override)

See Also:

HTML DOM Reference Manual:Bdo Object

Example

Specifies the text direction:

<bdo dir="rtl">
This text will be displayed from right to left.
</bdo>

Try It Yourself

Attribute

Attribute Value Description
dir
  • ltr
  • rtl
Required. Specifies the text direction within the <bdo> element.

Global Attributes

<bdo> The tag also supports Global Attributes in HTML.

Event Attributes

<bdo> The tag also supports Event Attributes in HTML.

Default CSS Settings

Most browsers will display the following default values <bdo> Element:

bdo {
  unicode-bidi: bidi-override;
}

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support