WeCodeAcademy
❮ aria-labelspellcheck ❯

dir

The text direction.

Applies to: all elements

Syntax

<p dir="rtl">

Example

Examplehtml
Open in editor »

← All of HTML Attributes