<!DOCTYPE html> <html> <head> <title>unicode-bidi:plaintext</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> textarea { resize: none; } </style> </head> <body> <div> The exclamation mark should be on the left side of the first line and on the right side of the second line. </div> <textarea rows=4 cols=50 dir=ltr> ‫שלום!‬ ‪hello!‬ </textarea> </body></html>