The unicode-bidi CSS property specifies the level of embedding with respect to the bidirectional algorithm.
Overview tablenormal
unicodeBidi
unicode-bidi: bidi-override
unicode-bidi: embed
unicode-bidi: normal
embed
value, except that, inside the element, reordering is strictly in sequence according to the direction property. This value overrides the implicit bidirectional algorithm.
A simple example showing multiple <p>s, that they have different unicode-bidi properties applied to them.
<p class="rtl">This is a paragraph using right-to-left direction.</p>
<p class="rtl" id="em">Sets the embed as the value unicode-bidi property.</p>
<p class="rtl" id="bidi">Sets the bidi-override as the value of unicode-bidi property.</p>
p {
width: 300px;
background-color: #cccccc;
}
.rtl {
direction: rtl;
}
#em {
unicode-bidi: embed;
}
#bidi {
unicode-bidi: bidi-override;
}
Notes
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.
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4