CSS direction Property

CSS direction Property


CSS direction Property
 
This property is used to control the text direction, much like the dir attribute for (X)HTML tags.
 
Syntax -
 
direction: ltr | rtl | inherit 
 
The allowed values rtl (right to left) and ltr (left to right) are often implied by the language in use, though the default is specified to be ltr.
 
Now we will see Example -
Example -
 
 
Output -