Check out example codes for "justify paragraph text in html". It will help you in understanding the concepts better.

Code Example 1

div
 {

  
 text-align: justify;

     
 text-justify: inter-word;

 }

Learn ReactJs, React Native from akashmittal.com