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

Code Example 1

<p>&#160;&#160;Hi</p>

will translate to: "  Hi"

Learn ReactJs, React Native from akashmittal.com