HTML tag
Example
Specify the text direction:
<
p
The text in this paragraph is displayed from left to right.
p
<
p
<
bdo
dir
=
"
rtl
"The text in this paragraph is displayed from right to left.
bdo
p
Try it »
Browser support

All major browsers support tag.
Tag Definition and Usage Notes
bdo stands for bidi override (Bi-Directional Override).
The tag is used to override the default text direction.
Differences between HTML 4.01 and HTML5
none.
property
| property | Value | Description |
|---|---|---|
| dir | ltr | |
| rtl | Required. Specifies a the text direction inside the element. |
Global Attributes
The tag supports HTML Global Attributes.
Event attribute
The tag supports HTML Event Attributes.