How works BDO Tag in HTML | Full form of BDO Tag
×

BDO (<bdo>) Tag

2989

BDO stands for Bi-Directional Override. The HTML <bdo> tag is mainly used in the right to left written documents such as Persian, Urdu, etc. This tag reverses the text direction i.e. used for text direction overriding.

The <bdo> tag is written as <bdo dir=""></bdo> that describe the text direction. The text is inserted between the start and end tag with an attribute where dir attribute is mandatory.

The value of the dir attribute must contain RTL (right to left) or LTR (left to right).

Browsers Support:

Google Chrome
Firefox
Safari
Internet Explorer

Code:

<!DOCTYPE html>
<html>
<head>
  <title> HTML Bdo Tag </title>
</head>
<body>
<h2> HTML Bdo Tag </h2>
<p>
<bdo dir="ltr">
This text will go left-to-right.
</bdo><br>
</p>
<p>
<bdo dir="rtl">
This text will go right-to-left.
</bdo>
 <br>
</p>
</body>
</html>

Output:



Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments