CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS direction Property

CSS direction Property

 

 

The direction property is used to specify the text direction or writing direction within a block-level element. It is used in combination with unicode-bidi property.

 

Default Value:-

 

Its default value is ltr.

 

Syntax:-

 

Its syntax is:- direction: ltr | rtl | initial | inherit;

 

Further Explanation:-

 

Value Description
ltr Text direction goes from left to right.
rtl Text direction goes from right to left
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS