unicode-bidi-plaintext-textarea-4.html 481 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html><head>
  3. <title>unicode-bidi:plaintext</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <style>
  6. .plaintext {
  7. unicode-bidi:plaintext;
  8. }
  9. textarea { text-align: left; resize: none; }
  10. </style>
  11. </head><body>
  12. <div>
  13. The exclamation mark should be on the left side of the first line
  14. and on the right side of the second line.
  15. </div>
  16. <textarea rows=4 cols=50 dir="rtl" class="plaintext">
  17. שלום!
  18. hello!
  19. </textarea>
  20. </body></html>