Style unicodeBidi Property
- Previous Page transitionDelay
- Next Page userSelect
- Go to the Previous Level HTML DOM Style Object
Definition and Usage
unicodeBidi
Property with direction Property Used together, sets or returns whether text should be overridden to support multiple languages in the same document.
See Also:
CSS Tutorial:CSS Text
CSS Reference Manual:unicode-bidi Property
Instance
Example 1
Override the text in the <p> element:
document.getElementById("myP").style.unicodeBidi = "bidi-override";
Example 2
Return unicodeBidi Property:
alert(document.getElementById("myP").style.unicodeBidi);
Syntax
Return unicodeBidi Property:
object.style.unicodeBidi
Set unicodeBidi Property:
object.style.unicodeBidi = "normal|embed|bidi-override|initial|inherit"
Property Value
Value | Description |
---|---|
normal | Do not use additional embedding levels. Default. |
embed | Create additional embedding levels. |
bidi-override | Create additional embedding levels. The reordering depends on the direction property. |
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 |
---|---|
Return Value: | A string that represents the embedding level relative to the bidirectional algorithm. |
CSS Version: | CSS2 |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
- Previous Page transitionDelay
- Next Page userSelect
- Go to the Previous Level HTML DOM Style Object