Check out example codes for "left align css mdn". It will help you in understanding the concepts better.
Code Example 1
text-align:left; //Aligns the text to the left text-align:right; //Aligns the text to the right text-align:center; //Aligns the text to the center text-align:justify; //Stretches the lines so that each line has equal width (like in newspapers and magazines) text-align:initial //Sets this property to its default value. text-align:inherit //Inherits this property from its parent element.
Learn ReactJs, React Native from akashmittal.com