HTML DOM Style unicodeBidi Property
THE WORLD'S LARGEST WEB DEVELOPER SITE

Style unicodeBidi Property

❮ Style Object

Example

Override text in a <p> element:

document.getElementById("myP").style.unicodeBidi = "bidi-override";
Try it Yourself »

Definition and Usage

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


Browser Support

Property
unicodeBidi Yes Yes Yes Yes Yes

Syntax

Return the unicodeBidi property:

object.style.unicodeBidi

Set the unicodeBidi property:

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

Property Values

Value Description
normal Does not use an additional level of embedding. This is default
embed Creates an additional level of embedding
bidi-override Creates an additional level of embedding. Reordering depends on the direction property
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit


Technical Details

Default Value: normal 
Return Value: A String, representing the level of embedding with respect to the bidirectional algorithm
CSS Version CSS2

More Examples

Example

Return the unicodeBidi property:

alert(document.getElementById("myP").style.unicodeBidi);
Try it Yourself »

Related Pages

CSS tutorial: CSS Text

CSS reference: unicode-bidi property


❮ Style Object