direction गुण का उपयोग टेक्स्ट दिशा सेट करने के लिए किया जाता है। संभावित मान: ltr या rtl।
उदाहरण
निम्न कोड चलाकर CSS के साथ टेक्स्ट दिशा सेट करें:
<html>
<head>
</head>
<body>
<p style="direction:rtl;">
This text will be renedered from right to left
</p>
</body>
</html>