bdo element

This text will go left to right.

This text will go right to left.

Code

<p>This text will go left to right.</p> 
<p><bdo dir="rtl">This text will go right to left.</bdo></p>

Reference

HTML5 bdo element