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).
|Google Chrome||Firefox||Safari||Internet Explorer|
<title> HTML Bdo Tag </title>
<h2> HTML Bdo Tag </h2>
This text will go left-to-right.
This text will go right-to-left.