CSS unicode-bidi attribute

Definition and usage

The unicode-bidi attribute is used with the direction attribute to set or return whether text should be rewritten to support multiple languages within the same document.

See also:

CSS Tutorial:CSS Text

HTML DOM Reference Manual:unicodeBidi attribute

Example

Rewrite text:

div {
  direction: rtl;
  unicode-bidi: bidi-override;
}

Try it yourself

CSS syntax

unicode-bidi: normal|embed|bidi-override|initial|inherit;

Attribute value

Value Description
normal Default value. The element will not open an additional embedding level.
embed For inline elements, this value will open an additional embedding level.
bidi-override

For inline elements, this value will create an override;

For block container elements, this value will create an override for inline-level descendants that are not within another block container element.

isolate The element is isolated from its siblings.
isolate-override
plaintext
initial Sets this property to its default value. See initial.
inherit Inherits this property from its parent element. See inherit.

Technical details

Default value: normal
Inheritance: Yes
Animation creation: Not supported. See:Animation-related properties.
Version: CSS2
JavaScript syntax: object.style.unicodeBidi="bidi-override"

Browser support

The numbers in the table indicate the first browser version that fully supports this attribute.

Chrome IE / Edge Firefox Safari Opera
2.0 5.5 1.0 1.3 9.2