Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>Test unicode-bidi in form controls</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
</head>
<body>
<p dir="rtl">‮This paragraph should appear backwards‬</p>
<p>
<textarea rows="3" cols="80" dir="rtl" style="resize:none">‮This textarea should appear backwards‬</textarea><br>
<input type="text" size="80" dir="rtl" value="‮This input should appear backwards‬"><br>
<input type="button" dir="rtl" value="‮This button should appear backwards‬"><br>
<select dir="rtl" size="6">
<option selected>‮This‬</option>
<optgroup label="‮select‬">
<option>‮should‬</option>
<option>‮appear‬</option>
</optgroup>
<optgroup label="‮backwards‬">
<option>‮throughout‬</option>
</optgroup>
</select><br>
</body>
</html>