Skip to content
Related Articles

Related Articles

Improve Article

HTML <bdo> Tag

  • Difficulty Level : Basic
  • Last Updated : 05 Feb, 2021

The <bdo> stands for Bi-Directional Override. This tag is used to specify the text direction or used to change the current direction.


<bdo dir> Contents... </bdo>

Attributes: This element contains dir attributes which are used to specify the direction of text written inside the <bdo> element. The dir attribute contains two values which are listed below: 

  • rtl: The text direction from right to left (reverse the text).
  • ltr: The text direction from left to right.

Example: The below example illustrate the bdo tag.


<!DOCTYPE html>
    <h2><bdo> Tag</h2>
    <!--This is bdo ltr Tag-->
    <bdo dir="ltr">GeeksforGeeks</bdo><br>
    <!--This is bdo rtl Tag-->
    <bdo dir="rtl">GeeksforGeeks</bdo>


Supported Browsers:

  • Apple Safari
  • Google Chrome
  • Firefox
  • Opera
  • Internet Explorer

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :