Difference Between Text Align Left And Text Align Start

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

 

admin
Leave a Reply

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages