HTML <bdo> Tag

定义和用法

<bdo> tag is used to override the current text direction.

BDO Refers to bidirectional override (Bi-Directional Override)

See also:

HTML DOM reference manual:Bdo object

Example

Specify text direction:

<bdo dir="rtl">
This text will be from right to left.
</bdo>

Try it yourself

Attribute

Attribute Value Description
dir
  • ltr
  • rtl
Required. Specifies the text direction within the <bdo> element.

Global attributes

<bdo> The tag also supports Global attributes in HTML.

event attributes

<bdo> The tag also supports Event attributes in HTML.

Default CSS settings

Most browsers will display the following default values <bdo> Element:

bdo {
  unicode-bidi: bidi-override;
}

Browser support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support