You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

12 months ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>unicode-bidi 示例</title>
<style>
.normal {
unicode-bidi: normal;
direction: ltr;
}
.embed {
unicode-bidi: embed;
direction: rtl;
}
.isolate {
unicode-bidi: isolate;
direction: rtl;
}
.bidi-override {
unicode-bidi: bidi-override;
direction: rtl;
}
.isolate-override {
unicode-bidi: isolate-override;
direction: rtl;
}
.plaintext {
unicode-bidi: plaintext;
direction: rtl;
}
</style>
</head>
<body>
<p class="normal">normal: This is an English text with عربى text embedded.</p>
<p class="embed">embed: This is an English text with عربى text embedded.</p>
<p class="isolate">isolate: This is an English text with عربى text embedded.</p>
<p class="bidi-override">bidi-override: This is an English text with عربى text embedded.</p>
<p class="isolate-override">isolate-override: This is an English text with عربى text embedded.</p>
<p class="plaintext">plaintext: This is an English text with عربى text embedded.</p>
</body>
12 months ago
</html>