HTML Tag Reference - HTML tag <bdo>

The value of the dir attribute of <bdo> determines the reading direction of text. The direction can be either from left to right or from right to left.

<bdo dir='ltr|rlt'> . . . </bdo>

Browser compatibility

<bdo> Yes Yes Yes Yes Yes

What's new in HTML5



Possible value:ltr|rtl. Set the text direction of the text

Global Attributes

The <bdo> tag supports the Global Attributes in HTML.

Event Attributes

The <bdo> tag supports the Event Attributes in HTML.

Default CSS Settings

bdo { 
    unicode-bidi: bidi-override;


A demo showing how to use bdo tag.

     <bdo dir="ltr">This text is read from left to right</bdo>
     <bdo dir="rtl">tfel ot thgir morf daer si txet sihT</bdo>

Click to view the demo