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

Code Example 1

<p style="text-align:right;">Example</p>

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: left;
}

Code Example 4

<p style="text-align:center;">Centered paragraph.</p>

Code Example 5

<style>
  .Whatever {
  	right:0px;
  }
</style>

Code Example 6

.class {
	text-align: center;
}

Learn ReactJs, React Native from akashmittal.com