Check out example codes for "text align css". It will help you in understanding the concepts better.

Code Example 1

text-align: justify;

Code Example 2

div.a {
  text-align: center;
}


    div.b {
  text-align: left;
}


    div.c {
  text-align: right;
}

div.c {
  text-align: 
    justify;
}

Code Example 3

body {
  text-align: center;
}

Code Example 4

text-align: center;

Code Example 5

p{
    text-align:center;/*values: center, left, right, etc...*/
}

Code Example 6

body {
  text-align: left;
}

Learn ReactJs, React Native from akashmittal.com