
The HTML <bdo> element specifies the text direction (<bdo> element override the current text direction.)
Example:
<!DOCTYPE html>
<html>
<body>
<p>How are you? <bdo dir="rtl">How are you?</bdo></p>
</body>
</html>
Output:
How are you? How are you?
Attributes:
dir (value- ltr/ rtl) – defines the text direction of the text inside <bdo> the tag.
ltr – left-to-right text direction.
rtl – right-to-left text direction.
Enjoy coding!