HTML bdo tag

Example

Specify the text direction:

<bdo dir="rtl">
This text will go right-to-left.
</bdo>

This text will go right-to-left.

Definition and Usage

BDO stands for Bi-Directional Override.

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

Attributes

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

Global Attributes

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

Event Attributes

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

Default CSS Settings

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

bdo {
unicode-bidi: bidi-override;
}

Comments