# direction attribute

Type: | "ltr" or "rtl"
Inherited: | yes
Default: | "rtl" for arabic, hebrew, yiddish and urdu, "ltr" otherwise
See: | align lang text-align

Controls the direction of layout for tables and lists - if "rtl", tables are drawn right to left and list bullets are placed on the right. This attribute does not affect text-direction, but typically this is set at the same time using the align or text-align attributes.
Normally this attribute is not set directly, but instead is dependent on the lang attribute for it's correct value.

This causes the table to be drawn right to left

    <table direction="rtl">
      <tr>
        <td>Right column</td>
        <td>Left column</td>
      </tr>
    </table>