Text Direction
The direction property tells the browser about the text directionality. Its value could be: ltr or rtl.
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
<style>
#first {
direction: ltr;
}
#second {
direction: rtl;
}
</style>
</head>
<body>
<p id="first">
This is left-to-right text
</p>
<p id="second">
This is right-to-lefttext
</p>
</body>
</html>