blob: 4cddec7feaa43ae415002a8ccb33419ec035587a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>dir="auto" and inputs</title>
</head>
<body>
<p>The next three lines should be left-to-right:</p>
<div dir="auto"><input value="abcdefghi"> is left-to-right.</div>
<div dir="auto"><input value="ابتثجحخدذ"> is right-to-left.</div>
<div dir="auto"><input value="!()*;<=>?"> is neutral.</div>
<p dir="rtl">The next three lines should be right-to-left:</p>
<div dir="auto"><input value="abcdefghi"> שמאל-ימין.</div>
<div dir="auto"><input value="ابتثجحخدذ"> ימין-שמאל.</div>
<div dir="auto"><input value="!()*;<=>?"> נייטראלי.</div>
</body>
</html>
|