Example
A paragraph with a direction from right to left:
Write this text right-to-left!
Browser support
All browsers support dirAttribute.
Definition and Usage
The dir attribute specifies the text direction of the element content.
Tips andNotes
Note: The dir attribute is not valid in the following tags:
,,,