Right to left alignment for a list of items in Arabic

To align items from right to left in Arabic language using use dir=”RTL”

<div dir="RTL">
    <ul>
      <li>This is first item</li>
      <li>This is second item</li>
      <li>This is last item</li>
    </ul>
  </div>
  
  • This is first item
  • This is second item
  • This is last item

Left to Right alignment for a list of items in Arabic using dir=”LTR”


  <div dir="LTR">
    <ul>
      <li>This is first item</li>
      <li>This is second item</li>
      <li>This is last item</li>
    </ul>
  </div>
  • This is first item
  • This is second item
  • This is last item