HTML5 <bdo> Tag

Example

Specify the text direction:

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

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

NONE


Attributes

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