HTML <bdo> dir Attribute
Example
Specify the text direction:
<bdo dir="rtl">
This text will go right-to-left.
</bdo>
Try it yourself »
Definition and Usage
The required dir attribute specifies the text direction of the text inside a <bdo> element.
Browser Support
Attribute | |||||
---|---|---|---|---|---|
dir | Yes | Yes | Yes | Yes | Yes |
Differences Between HTML 4.01 and HTML5
NONE.
Syntax
<bdo dir="ltr|rtl">
Attribute Values
Value | Description |
---|---|
ltr | Left-to-right text direction |
rtl | Right-to-left text direction |
HTML <bdo> tag