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

Code Example 1

<h1 style="text-align:center">Titulo 1</h1>
<h2 style="text-align:left">Titulo 2</h2>
<h3 style="text-align:right">Titulo 3</h3>
<h4 style="text-align:justify">Titulo 4</h4>
<p>...</p>

Learn ReactJs, React Native from akashmittal.com