Difference Between Text Align Left And Text Align Start

Difference Between Text Align Left And Text Align Start

Table of Contents

There are two new values in CSS3 as well, start and end. These values make multiple language support easier, For example, English is a left-to-right (ltr) language and Arabic is a right-to-left (rtl) language. Using “right” and “left” for values is too rigid and doesn’t adapt as the direction changes.

Not change According To direction

text-align: left; and  text-align: right;  not change 
according to CSS property  ( direction:ltr;  or direction:rtl; )


Change According To direction

text-align: start; and  text-align: end;  change according to CSS property  ( direction:ltr;  or direction:rtl; )

Live Example

 

Leave a Comment

Your email address will not be published. Required fields are marked *

No data found.