<!DOCTYPE html>
<html dir="rtl">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Test Page</title>
    <style type="text/css">
      span {
        margin: 1em;
      }
    </style>
  </head>
  <body>
    <p>
      <span dir="rtl">אתר התוספות של Mozilla</span>
      <span dir="rtl">one</span>
      <span dir="rtl">two</span>
      <span dir="rtl">three</span>
    </p>
  </body>
</html>