Specifies the level of embedding with respect to the bidirectional algorithm.
This property is read/write.
unicode-bidi: normal | embed | bidi-override
One of the following values:
Initial value. Element does not open an additional level of embedding. For inline elements, implicit reordering works across element boundaries.
Element opens an additional level of embedding. The value of the direction property specifies the embedding level. Reordering is implicit inside the element.
Same as the embed value, except that, inside the element, reordering is strictly in sequence according to the direction property. This value overrides the implicit bidirectional algorithm.
|Applies To||All elements|
- CSS 2.1, Section 9.10
The unicode-bidi property is used with the direction property.
The Unicode bidirectional algorithm automatically reverses embedded character sequences according to their inherent direction. For example, the base direction of an English document is left-to-right. If portions of a paragraph within the document contain a language with a right-to-left reading order, the direction of that language displays correctly right-to-left. The user agent applying the bidirectional algorithm correctly reverses the language direction.