HTML <bdo>Tag


Examples

Specify text direction:

<p>This paragraph text displays from left to right.</p> <p><bdo dir="rtl">This paragraph text displays from right to left.</bdo></p>

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the <bdo> tag.


Definition and Usage

bdo refers to bidi override (Bi-Directional Override).

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


Differences Between HTML 4.01 and HTML5

None.


Attributes

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


Global Attributes

The <bdo> tag supportsHTML Global Attributes。


Event Attributes

The <bdo> tag supportsHTML Event Attributes。

Other Extensions