Using the bdo dir tag we can change the direction of the text. Here an example that how to change the direction of the text.
1.At first we have to open the notepad
2.type the code
3.save the file in any name. e.g(direction_change.html
<html>
<body>
<p> If your browser supports bi-directional override(bdo), the next line will be written from the right to the left(rtl)
</p>
<p>
my name is mostafizur</p>
<bdo dir="rtl">
my name is mostafizur</bdo>
</body.
</html>
Above the example bdo denoted bi-directional override, dir denotes the direction & rtl denotes right to left.
The output of the above is
No comments:
Post a Comment