Breaking

Wednesday, May 1, 2019

HTML bdo Tag

Example

Specify the text direction:
<bdo dir="rtl">
This text will go right-to-left.
</bdo>
Try it Yourself »

Definition and Usage

bdo stands for Bi-Directional Override.
The <bdo> tag is used to override the current text direction.

Browser Support

Element
<bdo>YesYesYesYesYes

Differences Between HTML 4.01 and HTML5

NONE.

Attributes

AttributeValueDescription
dirltr
rtl
Required. Specifies the text direction of the text inside the <bdo> element

Global Attributes

The <bdo> tag also supports the Global Attributes in HTML.

Event Attributes

The <bdo> tag also supports the Event Attributes in HTML.

Related Pages

HTML DOM reference: Bdo Object

Default CSS Settings

Most browsers will display the <bdo> element with the following default values:
bdo { 
  unicode-bidi: bidi-override;
}

No comments:

Post a Comment