You are here: Reference > CSS > properties > unicode-bidi

unicode-bidi property

Browser support:
Specifies whether the text should be overridden to support multiple languages in the same document. Use with the direction property.
This property can override the Unicode standard algorithm of the browser that determines how text should appear when the page contains both RTL (right-to-left) and LTR (left-to-right) text.
JavaScript page for this property: unicodeBidi. You can find other example(s) there.

Possible values:

 One of the following values: 
bidi-override
Creates an additional level of embedding, but the reordering inside the element depends on the value of the 'direction' property.
embed
Creates an additional level of embedding.
inherit
Takes the value of this property from the computed style of the parent element.
normal
Default. Does not use an additional level of embedding.
Default: normal.

Example HTML code 1:

This example illustrates the use of the unicode-bidi property:
<head>
    <style>
        .normal {
            unicode-bidi: normal;
            direction: rtl;
        }
        .override {
            unicode-bidi: bidi-override;
            direction: rtl;
        }
    </style>
</head>
<body>
    <p class="normal">
        Unicode bidi is normal
    </p>
    <p class="override">
        Unicode bidi is bidi-override
    </p>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content