Style unicodeBidi attribute
- Daukaki ɗanin transitionDelay
- Daukaki ɗanin userSelect
- Kwance ɗanin Kwararaƙi HTML DOM Style Object
Definition and usage
unicodeBidi
Properties with direction attribute Used together, set or return whether the text should be overridden to support multiple languages in the same document.
See also:
CSS Tutorial:CSS ɗanin ɗalil
CSS Reference Manual:unicode-bidi attribute
Instance
Example 1
Override the text in the <p> element:
document.getElementById("myP").style.unicodeBidi = "bidi-override";
Example 2
Return unicodeBidi attribute:
alert(document.getElementById("myP").style.unicodeBidi);
Syntax
Return unicodeBidi attribute:
object.style.unicodeBidi
Set unicodeBidi attribute:
object.style.unicodeBidi = "normal|embed|bidi-override|initial|inherit"
Attribute 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: | string that represents the embedding level relative to the bidirectional algorithm. |
CSS version: | CSS2 |
browser supports
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Dukiya | Dukiya | Dukiya | Dukiya | Dukiya |
- Daukaki ɗanin transitionDelay
- Daukaki ɗanin userSelect
- Kwance ɗanin Kwararaƙi HTML DOM Style Object