To override the current text direction, use the <bdo> tag on your HTML page.
Syntax:
<bdo>
// content
</bdo>
Bdo refers to “Bidirectional Override” Using this <bdo> tag we can override the current direction of text on an HTML page. <bdo> tag also has its corresponding </bdo> tag. It uses the dir attribute in which any one value is passed either rtl(right to left) or ltr(left to right)
Refer to the video to understand clearly: