<bdo> tag in HTML 5

In this article I am going to explain about <bdo> tag in HTML 5.
  • 2298


<bdo> tag in HTML5 is used to reverse or set the direction of text. Using <bdo> tag in HTML5 we can set the direction of text to left to right or right to left.

Declaration Syntax <bdo> tag

<bdo dir="value">Expression </bdo>

Browser Support by <base> tag

The <base> tag is supported in internet explorer, mozilla firefox, Google chrome, opera and safari browsers.

Attributes of <base>tag

Attributes Value Description
dir ltr
Required. Specifies the text direction of the text inside the <bdo> element

Lets take an example of <base> tag

    <title>This is my first web page</title>
        This line will go left-to-right. </br> </br> <bdo dir="rtl">This Line will go right-to-left.</bdo>
        </br> </br> <bdo dir="rtl">.tfel-ot-thgir og lliw eniL sihT </bdo>




Further Readings

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.