Sets or retrieves the reading order of the specified object.
Inline |
<element dir = ltr | rtl> |
Script |
object.dir = ltr | rtl |
ltr |
Text flow is left-to-right. |
rtl |
Text flow is right-to-left. |
The property is read/write with a default value of ltr.
direction