Specifies the text direction.
The direction property affects the horizontal rendering order only, the left and right sides of the margin, border and padding are not swapped.
One of the following values:
|Takes the value of this property from the computed style of the parent element.|
|Default. Left to right.|
|Right to left.|
Example HTML code 1:
This example illustrates the use of the direction property:
Did you find this example helpful?
Supported by tags:
User Contributed Comments