HTML bdo tag
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <bdo> Tag


Example

Specify the text direction:

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

Definition and Usage

bdo stands for Bi-Directional Override.

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


Browser Support

Element
<bdo> Yes Yes Yes Yes Yes

Differences Between HTML 4.01 and HTML5

NONE.


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.


Related Pages

HTML DOM reference: Bdo Object


Default CSS Settings

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

bdo {
    unicode-bidi: bidi-override;
}