HTML bdi tag

The HTML <bdi> tag is Bi-directional isolation element which is used to embed text with a different direction from another text..

<p dir="ltr">This arabic word <bdi>ARABIC_PLACEHOLDER</bdi> is automatically displayed right-to-left.</p>

Eg. :

This arabic word ARABIC_PLACEHOLDER is automatically displayed right-to-left.