Left to right text <bdo dir="rtl">Right to left text</bdo>
The <bdo>
element allows you to override the text direction.
The <bdo>
element is useful for displaying right-to-left text (such as Hebrew, Arabic, Persian, Thaana, Urdu, etc) inside left-to-right text (such as English).
<bdo>
element with the text that should have its direction overridden.You must use the dir
global attribute when using the <bdo>
element. The dir
attribute specifies the direction of the text:
ltr
: Left to rightrtl
: Right to left