<bdo> Redirect 1


The HTML <bdo> Element (or HTML bidirectional override element) is used to override the current directionality of text. It causes the directionality of the characters to be ignored in favor of the specified directionality.

Usage Context


This element includes the global attributes.

Text direction in this element. Possible values are:
  • ltr: Indicates that the text should go in a left-to-right direction.
  • rtl: Indicates that the text should go in a right-to-left direction.
  • auto: The browser decides which direction based on the element's content.


<!-- Switch text direction -->
<p>This text will go left to right.</p>
<p><bdo dir="rtl">This text will go right to left.</bdo></p>


This text will go left to right.

.tfel ot thgir og lliw txet sihT.


The HTML 4 specification did not specify events for this element; they were added in XHTML. This is most likely an oversight.


Specification Status Comment
WHATWG HTML Living Standard Living Standard  
HTML5 Candidate Recommendation  
HTML 4.01 Specification Recommendation  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support (Yes) ? ? ? (Yes)

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,