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

Code Example 1

<pre> the space before this sentence will stay! so will the following space! </pre>

Learn ReactJs, React Native from akashmittal.com