Tutorials Exercises Get Certified Services Menu
Log in
Sign Up Spaces Bootcamps

HTML <bdo> Tag


Specify the text direction:

<bdo dir="rtl">
This text will go right-to-left.
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

<bdo> Yes Yes Yes Yes Yes


Attribute Value Description
dir ltr
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;