dir

Support

The dir attribute tells the browser which direction the displayed texted is presented. The browser will render the text from left to right as default.

Values: rtl (right to left) - ltr (left to right)

Example

<p>Hello World - <span dir="rtl">Hello World</span></p>

Preview

Hello World - Hello World