Contact Number
Email Address

bdo

bdo

Definition and Usage

The HTML <bdo> element (bidirectional override) is used to override the current directionality of text and default text direction. It causes the directionality of the characters to be ignored in favor of the specified directionality. None, both the starting and ending tag are mandatory. The <bdo> tag is used to override the current text direction. This can be useful when displaying right-to-left written text (such as Hebrew, Arabic, and other languages/scripts that are written from right to left) within left-to-right text (such as English) or vice versa.

Syntax

The <bdo> tag is written as <bdo dir=""></bdo> with the relevant text inserted between the start and end tag. The value of the dir attribute must be either rtl or ltr (but not auto, which is allowed in other elements). Like this: <bdo dir="rtl">Text here...</bdo>