HTML5 <bdo> Tag


Specify the text direction:

<bdo dir="rtl">
Here is some text written from right-to-left.

Try it yourself »

Definition and Usage

bdo stands for bidirectional override.

The <bdo> tag allows you to specify the text direction and override the bidirectional algorithm.

Differences Between HTML 4.01 and HTML5



Attribute Value Description
dir ltr
Specifies the text direction of the text inside a bdo element.
This attribute is required

Standard Attributes

The <bdo> tag also supports the Standard Attributes in HTML5.

Event Attributes

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