HTML <bdo> tag
The HTML tag describes bi-directional override of the text.
You can use this tag to override the existing text direction.
This is particularly helpful in languages whose direction is from Right to Left.
For Example, languages like Arabic, Urdu, Hebrew etc are written from Right to Left.
Syntax:
<bdo dir=”rtl”> Text…(right to left)</bdo>
Default CSS Value
unicode-bidi: bidi-override;
How Browser will display
INLINE.
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
None | None | None |
Attributes used with <bdo> tag
Attribute | Description |
---|---|
dir | to set the direction of the text. It can take any one of the 2 values as - |
Global Attributes
The <bdo> tag supports Global attributes.
Event Attributes
The <bdo> tag supports Event attributes.
Supporting Browsers
Related Tags
<bdi>.