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

Code Example 1

 

Code Example 2

&nbsp

Learn ReactJs, React Native from akashmittal.com