<bdo> tag in HTML
The <bdo> (Bi-Directional Override) tag is used to override the current text direction.
Important Description
- The <bdo> tag used mainly with languages where reading occurs from right to left (Arabic).
- The dir attribute is required option for the <bdo> tag.
Example of <bdo> Tag
Result Look Like
This paragraph will go right-to-left.
This paragraph will go left-to-right.
<bdo> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<bdo> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes
Attributes
Attribute |
Value |
Description |
dir |
ltr
rtl |
Specifies the text direction of the text inside the <bdo> element |