HTML <bdo> Tag
Left to right text <bdo dir="rtl">Right to left text</bdo>
<bdo> element allows you to override the text direction.
<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).
How to Use the above Code
- Replace the value of the
<bdo>element with the text that should have its direction overridden.
- Replace the the rest of the content with your own code.
You must use the
dir global attribute when using the
<bdo> element. The
dir attribute specifies the direction of the text:
ltr: Left to right
rtl: Right to left