Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Style unicodeBidi property

Style unicodeBidi property

Style Object Reference The Style object


Definition and Usage

The unicodeBidi property is used with direction the property to set or return whether the text is overridden, in order to support multiple languages in the same document.

Syntax

Set the unicodeBidi property:

Object.style.unicodeBidi="normal|embed|bidi-override|inherit"

Return the unicodeBidi property:

Object.style.unicodeBidi

Value Description
normal Default. No additional embedding level is used.
embed Creates an additional embedding level.
bidi-override Creates an additional embedding level. The reordering depends on the direction property.
inherit The value of the unicodeBidi property is inherited from the parent element.

Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the unicodeBidi property.

**Note:** IE7 and earlier versions do not support the "inherit" value. IE8 supports "inherit" only if a !DOCTYPE is specified. IE9 supports "inherit".


Example

Example

Override text:

Runoob Tutorial(runoob.com)

This is some text.

This is some other text.


Try it »


Style Object Reference The Style object