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

Code Example 1

&nbsp;  <!-- 1 space -->
&ensp;	<!-- tab; 2 space -->
&emsp;	<!-- tab; 4 space -->

Code Example 2

<br/>

Code Example 3

Html whitespace

Learn ReactJs, React Native from akashmittal.com