HomeReferencesCSS Properties

CSS Property: direction

Specifies writing direction and the direction of embeddings and overrides (used in conjunction with unicode-bidi).

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • inherit
  • ltr (default) - left to right.
  • rtl - right to left.

Example


p { direction: rtl; }