18 lines
695 B
HTML
18 lines
695 B
HTML
|
<!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>
|