<html> <head> </head> <body style="direction: rtl;"> m <span id="a" style="border: 1px solid black"></span> <div></div> m </body> </html>