
}
.right {
  text-align: right;
}
</style>
<body>
  <section class="right">
    <span>
      123456789
      <div>123456789</div>
      123456789
    </span>
  </section>

  <section dir="rtl" class="left">
    <span>
      123456789
      <div>123456789</div>
      123456789
    </span>
  </section>
</body>
