Direction

The   property is used in CSS and certain HTML elements. This property sets the direction of the text, either going from left to right or from right to left. This should normally be done as part of the document (using the  attribute in HTML) rather than directly using it through CSS.

Unlike the  attribute in HTML, this property is not inherited from table columns into table cells, since CSS inheritance follows the document tree, and table cells are inside of the rows but not inside of the columns.

Values

 * - The default value. Text and other elements go from left to right.
 * - Text and other elements go from right to left.

HTML example:

Right to left text.

That produces:

Right to left text.

CSS  example:

h1 { direction:rtl; }