CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS direction property




The CSS direction property use to write a text direction of an elements.


Property Values


Properties Value Description
Syntax direction:value
value   ltr (left to right)
  rtl (right to left)
  inherit
Allow to All Elements
Inherited Yes

Example-Code:

<p style="direction:ltr">This is right to left direction</p>
Online Try This Code Your Self....   »

Example-Result:

This is right to left direction