bdi element

Left to right and right to left text.

Code

<p dir="ltr">Left to right <bdi>and right to left</bdi> text.</p>

Reference

HTML5 bdi element