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 |
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;
}