Check out example codes for "html how to close tag". It will help you in understanding the concepts better.

Code Example 1

<!--Take your starting tag and place it in the end with a / in front of it.-->
<p>Hello World</p>
<a href="#">Hello World</a>

Learn ReactJs, React Native from akashmittal.com