direction

The property sets the direction of text, table columns, and horizontal overflow

Example

Initial value ltr
Applies to all elements in the page

Syntax

  
direction: rtl;
  

Values

Text and other elements from left to right. This is default.
Text and other elements from right to left. (languages such as Farsi and Arabic)

Browser support

direction21215.59.21

We use cookies to improve your experience. Learn more in our Privacy policy.

×