Description: Illustrates the JavaScript syntax for the Anchor Object dir Property .
Syntax: object.dir="rtl" or "ltr" – Allows you to retrieve or assign direction of text for an element.