dir property (document, XMLDocument)
Sets or retrieves the horizontal rendering order in the current document.
The direction property takes only effect on non alphanumeric characters in Latin documents. You can also use the direction style property for similar functionality.
You can find the related objects in the Supported by objects section below.
This property is read/write.
String that sets or returns the reading order.
One of the following values:
|Left to right.|
|Right to left.|
Example HTML code 1:
This example illustrates the use of the dir property:
Did you find this example helpful?
Supported by objects:
User Contributed Comments